We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19edced commit 1c3d01aCopy full SHA for 1c3d01a
Lib/test/test_concurrent_futures/executor.py
@@ -69,9 +69,9 @@ def test_map_exception(self):
69
70
# a failed future must not be captured in its
71
# future._exception.__traceback__ to avoid a reference cycle
72
- self.assertFalse(
73
- any(
74
- isinstance(referrer, futures.Future)
+ self.assertTrue(
+ all(
+ not isinstance(referrer, futures.Future)
75
for referrer in gc.get_referrers(error)
76
)
77
0 commit comments