mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python3Packages.psutil: fix pytest expr
This commit is contained in:
parent
8e9060711a
commit
ebaa9ba725
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue