[pypy-commit] pypy py3k: adapt 96be871fc24b to py3

pjenvey noreply at buildbot.pypy.org
Wed Feb 13 23:12:34 CET 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r61224:7668e24c3f92
Date: 2013-02-13 14:12 -0800
http://bitbucket.org/pypy/pypy/changeset/7668e24c3f92/

Log:	adapt 96be871fc24b to py3

diff --git a/lib-python/3.2/test/test_generators.py b/lib-python/3.2/test/test_generators.py
--- a/lib-python/3.2/test/test_generators.py
+++ b/lib-python/3.2/test/test_generators.py
@@ -1496,9 +1496,7 @@
 """
 
 coroutine_tests = """\
-A helper function to call gc.collect() without printing
->>> import gc
->>> def gc_collect(): gc.collect()
+>>> from test.support import gc_collect
 
 Sending a value into a started generator:
 
@@ -1840,8 +1838,7 @@
 references. We add it to the standard suite so the routine refleak-tests
 would trigger if it starts being uncleanable again.
 
->>> import gc
->>> def gc_collect(): gc.collect()
+>>> from test.support import gc_collect
 
 >>> import itertools
 >>> def leak():


More information about the pypy-commit mailing list