]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is fixed ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 16 Aug 2021 09:01:14 +0000 (02:01 -0700)
committerGitHub <noreply@github.com>
Mon, 16 Aug 2021 09:01:14 +0000 (02:01 -0700)
(cherry picked from commit 62bc716fde20fcb7b47416c7959be9e66df93212)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Lib/test/test_exceptions.py

index 2e4ec9d33f689289eb01d84c398d31e118c57f4f..520deb301ecf8ab1ba42d29377f842d5416c4327 100644 (file)
@@ -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