diff options
Diffstat (limited to 'pkgs/development/python-modules/restrictedpython')
-rw-r--r-- | pkgs/development/python-modules/restrictedpython/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/restrictedpython/default.nix b/pkgs/development/python-modules/restrictedpython/default.nix index 08df5a3d9fd5..cf8ceb3e96f6 100644 --- a/pkgs/development/python-modules/restrictedpython/default.nix +++ b/pkgs/development/python-modules/restrictedpython/default.nix @@ -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" ]; |