python3Packages.psutil: fix pytest expr
This commit is contained in:
parent
8e9060711a
commit
ebaa9ba725
@ -25,9 +25,7 @@ buildPythonPackage rec {
|
|||||||
# cpu_times is flakey on darwin
|
# cpu_times is flakey on darwin
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest $out/${python.sitePackages}/psutil/tests/test_system.py \
|
pytest $out/${python.sitePackages}/psutil/tests/test_system.py \
|
||||||
-k 'not user \
|
-k 'not user and not disk_io_counters and not sensors_battery and not cpu_times'
|
||||||
and not disk_io_counters and not sensors_battery \
|
|
||||||
and not cpu_times'
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.IOKit ];
|
buildInputs = lib.optionals stdenv.isDarwin [ darwin.IOKit ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user