Skip to content

Commit

Permalink
bpo-44895: Temporarily add an extra gc.collect() call (pythonGH-27746)
Browse files Browse the repository at this point in the history
This is part of an investigation of a non-deterministic reference leak. While we're looking for the root cause, this is included temporarily so that CI doesn't fail on this particular issue. This enables it to find other regressions in the meantime, which would otherwise be shadowed by our known issue.
  • Loading branch information
iritkatriel authored Aug 13, 2021
1 parent 03648a2 commit 7bf28cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/test/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bf28cb

Please sign in to comment.