python3Packages.psutil: fix pytest expr

This commit is contained in:
Jonathan Ringer 2020-08-16 12:53:08 -07:00
parent 8e9060711a
commit ebaa9ba725
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -25,9 +25,7 @@ buildPythonPackage rec {
# cpu_times is flakey on darwin
checkPhase = ''
pytest $out/${python.sitePackages}/psutil/tests/test_system.py \
-k 'not user \
and not disk_io_counters and not sensors_battery \
and not cpu_times'
-k 'not user and not disk_io_counters and not sensors_battery and not cpu_times'
'';
buildInputs = lib.optionals stdenv.isDarwin [ darwin.IOKit ];