python313Packages.pytest-benchmark: disable failing test

This commit is contained in:
Martin Weinelt 2024-11-14 03:10:53 +01:00
parent c3f73ea908
commit bdfcd349ba
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -14,6 +14,7 @@
pytest,
pytestCheckHook,
pytest-xdist,
pythonAtLeast,
pythonOlder,
setuptools,
}:
@ -62,14 +63,19 @@ buildPythonPackage rec {
export HOME=$(mktemp -d)
'';
disabledTests = lib.optionals (pythonOlder "3.12") [
# AttributeError: 'PluginImportFixer' object has no attribute 'find_spec'
"test_compare_1"
"test_compare_2"
"test_regression_checks"
"test_regression_checks_inf"
"test_rendering"
];
disabledTests =
lib.optionals (pythonOlder "3.12") [
# AttributeError: 'PluginImportFixer' object has no attribute 'find_spec'
"test_compare_1"
"test_compare_2"
"test_regression_checks"
"test_regression_checks_inf"
"test_rendering"
]
++ lib.optionals (pythonAtLeast "3.13") [
# argparse usage changes mismatches test artifact
"test_help"
];
meta = with lib; {
changelog = "https://github.com/ionelmc/pytest-benchmark/blob/${src.rev}/CHANGELOG.rst";