python311Packages.cramjam,python312Packages.cramjam: disable test_variants.py

This commit is contained in:
Raghav Sood 2024-05-17 21:48:17 +08:00
parent 32557eac80
commit 1215a1ca88
No known key found for this signature in database
GPG Key ID: 13D53E9EB65DE19C

View File

@ -46,7 +46,13 @@ buildPythonPackage rec {
pytestFlagsArray = [ "cramjam-python/tests" ];
disabledTestPaths = [ "cramjam-python/benchmarks/test_bench.py" ];
disabledTestPaths = [
"cramjam-python/benchmarks/test_bench.py"
# test_variants.py appears to be flaky
#
# https://github.com/NixOS/nixpkgs/pull/311584#issuecomment-2117656380
"cramjam-python/tests/test_variants.py"
];
pythonImportsCheck = [ "cramjam" ];