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:
parent
ac1638d014
commit
3b5fd3ff81
1 changed files with 3 additions and 0 deletions
|
@ -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 = (''
|
||||
|
|
Loading…
Reference in a new issue