0
0
Fork 0
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:
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 # 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 ];