Skip to content

Commit 62bc716

Browse files
authored
bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is fixed (GH-27761)
1 parent 2cb1a68 commit 62bc716

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Lib/test/test_exceptions.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,11 +1012,9 @@ def cycle():
10121012
self.assertIsInstance(exc.__context__, ValueError)
10131013
self.assertIs(exc.__context__.__context__, exc.__context__)
10141014

1015+
@unittest.skip("See issue 44895")
10151016
def test_no_hang_on_context_chain_cycle2(self):
10161017
# See issue 25782. Cycle at head of context chain.
1017-
while gc.collect():
1018-
# Remove this once issue 44895 is resolved
1019-
pass
10201018

10211019
class A(Exception):
10221020
pass

0 commit comments

Comments
 (0)