3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.python-daemon: use older pytest

It was supposedly working with 5.3, but now the only older version we
have is 4, so let's use that.
This commit is contained in:
Frederik Rietdijk 2020-06-11 14:18:20 +02:00
parent 3a70659b4d
commit 77d893eea3

View file

@ -2,7 +2,7 @@
, docutils
, lockfile
, mock
, pytest
, pytest_4
, testscenarios
, twine
}:
@ -19,7 +19,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ twine ];
propagatedBuildInputs = [ docutils lockfile ];
checkInputs = [ pytest mock testscenarios ];
checkInputs = [ pytest_4 mock testscenarios ];
checkPhase = ''
pytest -k 'not detaches_process_context \
and not standard_stream_file_descriptors'