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:
parent
3a70659b4d
commit
77d893eea3
@ -2,7 +2,7 @@
|
|||||||
, docutils
|
, docutils
|
||||||
, lockfile
|
, lockfile
|
||||||
, mock
|
, mock
|
||||||
, pytest
|
, pytest_4
|
||||||
, testscenarios
|
, testscenarios
|
||||||
, twine
|
, twine
|
||||||
}:
|
}:
|
||||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||||||
nativeBuildInputs = [ twine ];
|
nativeBuildInputs = [ twine ];
|
||||||
propagatedBuildInputs = [ docutils lockfile ];
|
propagatedBuildInputs = [ docutils lockfile ];
|
||||||
|
|
||||||
checkInputs = [ pytest mock testscenarios ];
|
checkInputs = [ pytest_4 mock testscenarios ];
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest -k 'not detaches_process_context \
|
pytest -k 'not detaches_process_context \
|
||||||
and not standard_stream_file_descriptors'
|
and not standard_stream_file_descriptors'
|
||||||
|
Loading…
Reference in New Issue
Block a user