Author: Manuel Jacob <[email protected]>
Branch: py3.6
Changeset: r94037:02930c62826c
Date: 2018-03-20 17:29 +0100
http://bitbucket.org/pypy/pypy/changeset/02930c62826c/
Log: Add gc_collect() to make it crash more reliably. Yay!
diff --git a/lib-python/3/test/test_asyncgen.py
b/lib-python/3/test/test_asyncgen.py
--- a/lib-python/3/test/test_asyncgen.py
+++ b/lib-python/3/test/test_asyncgen.py
@@ -5,7 +5,7 @@
from unittest import mock
-from test.support import import_module
+from test.support import import_module, gc_collect
asyncio = import_module("asyncio")
@@ -623,6 +623,7 @@
await g.__anext__()
await g.__anext__()
del g
+ gc_collect()
await asyncio.sleep(0.1, loop=self.loop)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit