python2Packages.construct: skip tests that require broken packages

This commit is contained in:
Robert Schütz
2021-11-22 16:58:38 -08:00
parent 49cf63ccc9
commit 192bbb938c
@@ -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" ];