Author: Philip Jenvey <[email protected]> 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(): _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
