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 12db452 commit bc3ff28Copy full SHA for bc3ff28
Lib/test/test_concurrent_futures/executor.py
@@ -129,4 +129,7 @@ def test_free_reference(self):
129
wr = weakref.ref(obj)
130
del obj
131
support.gc_collect() # For PyPy or other GCs.
132
- self.assertIsNone(wr())
+
133
+ for _ in support.sleeping_retry(support.SHORT_TIMEOUT):
134
+ if wr() is None:
135
+ break
0 commit comments