diff --git a/pkgs/development/python-modules/hebg/default.nix b/pkgs/development/python-modules/hebg/default.nix index 5bf209fe7a7b..01cca8dd7dec 100644 --- a/pkgs/development/python-modules/hebg/default.nix +++ b/pkgs/development/python-modules/hebg/default.nix @@ -44,6 +44,12 @@ buildPythonPackage rec { pytest-mock ]; env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { MPLBACKEND = "Agg"; }; + + disabledTests = [ + # exec()'d class no longer leaks into locals() under PEP 667 + "test_exec_codegen" + ]; + pythonImportsCheck = [ "hebg" ]; meta = {