python312Packages.overrides: disable failing test

This commit is contained in:
Martin Weinelt
2023-12-20 20:45:59 +01:00
parent 1cb1c78857
commit ff8d0651ff
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonAtLeast
, pythonOlder
, pytestCheckHook
}:
@@ -23,6 +24,11 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTests = lib.optionals (pythonAtLeast "3.12") [
# KeyError: 'assertRaises'
"test_enforcing_when_incompatible"
];
pythonImportsCheck = [
"overrides"
];