From 8ab140c9b60227536491cd2e82d5aebb4246ca8f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 24 Jun 2023 23:31:00 +0200 Subject: [PATCH] python311Packages.exceptiongroup: disable failing test --- pkgs/development/python-modules/exceptiongroup/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/exceptiongroup/default.nix b/pkgs/development/python-modules/exceptiongroup/default.nix index 5e7930bbc9cd..e6f40fa90ebd 100644 --- a/pkgs/development/python-modules/exceptiongroup/default.nix +++ b/pkgs/development/python-modules/exceptiongroup/default.nix @@ -33,6 +33,12 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = if (pythonAtLeast "3.11") then [ + # regression in 3.11.4 + # https://github.com/agronholm/exceptiongroup/issues/64 + "test_catch_handler_raises" + ] else null; + pythonImportsCheck = [ "exceptiongroup" ];