diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index efeca6de822fbe..947d7132cc7189 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -1014,6 +1014,9 @@ def cycle(): 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