Skip to content

Commit

Permalink
python2Packages.construct: skip tests that require broken packages
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Nov 23, 2021
1 parent 49cf63c commit 192bbb9
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pkgs/development/python-modules/construct/2.10.54.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,20 @@ buildPythonPackage rec {
sha256 = "1mqspsn6bf3ibvih1zna2glkg8iw7vy5zg9gzg0d1m8zcndk2c48";
};

checkInputs = [ pytestCheckHook pytest-benchmark enum34 numpy arrow ruamel-yaml ];
checkInputs = [ pytestCheckHook pytest-benchmark enum34 numpy ];

disabledTests = lib.optionals stdenv.isDarwin [ "test_multiprocessing" ];
# these have dependencies that are broken on Python 2
disabledTestPaths = [
"tests/gallery/test_gallery.py"
"tests/test_benchmarks.py"
"tests/test_compiler.py"
];

disabledTests = [
"test_timestamp"
] ++ lib.optionals stdenv.isDarwin [
"test_multiprocessing"
];

pytestFlagsArray = [ "--benchmark-disable" ];

Expand Down

0 comments on commit 192bbb9

Please sign in to comment.