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