[pypy-commit] pypy py3.5: fix test

arigo pypy.commits at gmail.com
Tue Nov 29 03:12:58 EST 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r88721:f21619a0a9f0
Date: 2016-11-29 09:12 +0100
http://bitbucket.org/pypy/pypy/changeset/f21619a0a9f0/

Log:	fix test

diff --git a/lib-python/3/test/test_asyncio/test_base_events.py b/lib-python/3/test/test_asyncio/test_base_events.py
--- a/lib-python/3/test/test_asyncio/test_base_events.py
+++ b/lib-python/3/test/test_asyncio/test_base_events.py
@@ -510,6 +510,7 @@
             fut.add_done_callback(lambda *args: self.loop.stop())
             self.loop.run_forever()
             fut = None # Trigger Future.__del__ or futures._TracebackLogger
+            support.gc_collect()
             if PY34:
                 # Future.__del__ in Python 3.4 logs error with
                 # an actual exception context


More information about the pypy-commit mailing list