poetry: fix tests on Darwin
tests/console/commands/test_shell.py::test_shell used to fail with
shellingham.posix.ps.PsNotAvailable: ps not found
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
, pytest-mock
|
||||
, pytest-xdist
|
||||
, pythonAtLeast
|
||||
, darwin
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -110,6 +111,8 @@ buildPythonPackage rec {
|
||||
httpretty
|
||||
pytest-mock
|
||||
pytest-xdist
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.ps
|
||||
];
|
||||
|
||||
preCheck = (''
|
||||
|
||||
Reference in New Issue
Block a user