python311Packages.restrictedpython: disable failing test

This commit is contained in:
Martin Weinelt 2023-06-24 23:42:05 +02:00
parent 8ab140c9b6
commit 198f23d10c
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -3,6 +3,7 @@
, fetchPypi
, pytest-mock
, pytestCheckHook
, pythonAtLeast
, pythonOlder
}:
@ -24,6 +25,10 @@ buildPythonPackage rec {
pytest-mock
];
disabledTests = lib.optionals (pythonAtLeast "3.11") [
"test_compile__compile_restricted_exec__5"
];
pythonImportsCheck = [
"RestrictedPython"
];