1. Pypy
  2. Untitled project
  3. pypy

Commits

Philip Jenvey  committed 7668e24

adapt 96be871fc24b to py3

  • Participants
  • Parent commits 7e444a1
  • Branches py3k

Comments (0)

Files changed (1)

File lib-python/3.2/test/test_generators.py

View file
  • Ignore whitespace
 """
 
 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:
 
 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():