[Python-checkins] bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is fixed (GH-27761)

ambv webhook-mailer at python.org
Mon Aug 16 04:36:57 EDT 2021


https://github.com/python/cpython/commit/62bc716fde20fcb7b47416c7959be9e66df93212
commit: 62bc716fde20fcb7b47416c7959be9e66df93212
branch: main
author: Irit Katriel <1055913+iritkatriel at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-08-16T10:36:49+02:00
summary:

bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is fixed (GH-27761)

files:
M Lib/test/test_exceptions.py

diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index 947d7132cc718..ce7b86880e69f 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



More information about the Python-checkins mailing list