From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 16 Aug 2021 09:01:14 +0000 (-0700) Subject: bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is fixed ... X-Git-Tag: v3.10.0rc2~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1960409a6dcbd1e3527f02b523bd27df9086dd77;p=thirdparty%2FPython%2Fcpython.git bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is fixed (GH-27761) (cherry picked from commit 62bc716fde20fcb7b47416c7959be9e66df93212) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> --- diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 2e4ec9d33f68..520deb301ecf 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -1012,11 +1012,9 @@ class ExceptionTests(unittest.TestCase): 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