python3Packages.pytest-trio: disable tests
This commit is contained in:
parent
79aaa4f2ae
commit
f76046a7c2
@ -1,5 +1,5 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||||
, trio, async_generator, hypothesis, outcome, pytest, pytestcov }:
|
, trio, python, async_generator, hypothesis, outcome, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-trio";
|
pname = "pytest-trio";
|
||||||
@ -22,14 +22,18 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
pytestcov
|
|
||||||
hypothesis
|
hypothesis
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# broken with pytest 5 and 6
|
||||||
|
doCheck = false;
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest
|
rm pytest.ini
|
||||||
|
PYTHONPATH=$PWD:$PYTHONPATH pytest
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pytest_trio" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Pytest plugin for trio";
|
description = "Pytest plugin for trio";
|
||||||
homepage = "https://github.com/python-trio/pytest-trio";
|
homepage = "https://github.com/python-trio/pytest-trio";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user