From 13b410fff0a24fe267f73e77b84fcaad1aae831c Mon Sep 17 00:00:00 2001 From: Irit Katriel Date: Fri, 13 Aug 2021 16:23:00 +0100 Subject: [PATCH] bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is fixed --- Lib/test/test_exceptions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 947d7132cc7189..ce7b86880e69f7 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -1012,11 +1012,9 @@ def cycle(): self.assertIsInstance(exc.__context__, ValueError) self.assertIs(exc.__context__.__context__, exc.__context__) + @unittest.skip("See issue 44895") def test_no_hang_on_context_chain_cycle2(self): # See issue 25782. Cycle at head of context chain. - while gc.collect(): - # Remove this once issue 44895 is resolved - pass class A(Exception): pass