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

(cherry picked from commit 62bc716fde)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2021-08-16 02:01:14 -07:00 committed by GitHub
parent b6a6d99a0b
commit 1960409a6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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