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:
parent
3a70659b4d
commit
77d893eea3
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue