Commit e615633
committed
tests: asyncio: collect garbage in run_until_complete_nesting
The test checks that coro1 emits a runtime warning when it is garbage
collected. cpython will do this collection immediately, but other
implementations such as PyPy might not. Add the appropriate call to
support.gc_collect() to ensure the warning is emitted while still in the
with statement.1 parent f8262b8 commit e615633
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
290 | 291 | | |
291 | 292 | | |
292 | 293 | | |
| |||
0 commit comments