diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-04-14 18:34:14 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-04-14 18:34:14 (GMT) |
commit | c187f33e2bb5f60b664cd5d94e79483d3adf2c41 (patch) | |
tree | cd2477a4e15e19708e62e359789227150db59a1b /Lib/test/leakers | |
parent | 78a0be6ab373680335e12cb76b3d811afbae32d0 (diff) | |
download | cpython-c187f33e2bb5f60b664cd5d94e79483d3adf2c41.zip cpython-c187f33e2bb5f60b664cd5d94e79483d3adf2c41.tar.gz cpython-c187f33e2bb5f60b664cd5d94e79483d3adf2c41.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/test/leakers')
-rw-r--r-- | Lib/test/leakers/test_tee.py | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/Lib/test/leakers/test_tee.py b/Lib/test/leakers/test_tee.py index f0aa444..db2867a 100644 --- a/Lib/test/leakers/test_tee.py +++ b/Lib/test/leakers/test_tee.py @@ -6,20 +6,20 @@ from itertools import tee import gc def leak(): - def inner(): - def fib(): - def yield_identity_forever(g): - while 1: - yield g - def _fib(): - for i in yield_identity_forever(head): - yield i - head, tail, result = tee(_fib(), 3) - return result + def inner(): + def fib(): + def yield_identity_forever(g): + while 1: + yield g + def _fib(): + for i in yield_identity_forever(head): + yield i + head, tail, result = tee(_fib(), 3) + return result - x = fib() - x.next() - inner() - gc.collect() ; gc.collect() - # this is expected to return 0 - return gc.collect() + x = fib() + x.next() + inner() + gc.collect() ; gc.collect() + # this is expected to return 0 + return gc.collect() |