Skip to content

Commit a6a8b1c

Browse files
committed
bpo-44895: temporarily add a gc call to unbreak the built while we investigate the refleak
1 parent 953d272 commit a6a8b1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/test/test_exceptions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,9 @@ def cycle():
10141014

10151015
def test_no_hang_on_context_chain_cycle2(self):
10161016
# See issue 25782. Cycle at head of context chain.
1017+
while gc.collect():
1018+
# Remove this once issue 44895 is resolved
1019+
pass
10171020

10181021
class A(Exception):
10191022
pass

0 commit comments

Comments
 (0)