diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2021-08-13 10:41:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-13 11:41:35 +0200 |
commit | 7bf28cbb4bf37fa6bdfc2d3f8a3939066b3f8f22 (patch) | |
tree | a3215bbc5e14279dd3ddb188e8acbbe8906a5372 /Lib/test/test_exceptions.py | |
parent | 03648a2a91f9f1091cd21bd4cd6ca092ddb25640 (diff) | |
download | cpython-git-7bf28cbb4bf37fa6bdfc2d3f8a3939066b3f8f22.tar.gz |
bpo-44895: Temporarily add an extra gc.collect() call (GH-27746)
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.
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r-- | Lib/test/test_exceptions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index efeca6de82..947d7132cc 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -1014,6 +1014,9 @@ class ExceptionTests(unittest.TestCase): 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 |