diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2013-05-14 20:37:52 +0200 |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-05-14 20:37:52 +0200 |
| commit | 93963569487bd3d13962c92d64a128e27330cf02 (patch) | |
| tree | 6966ad6d6148e5ede6183a80a62890470f10d612 /Lib/test/test_sys.py | |
| parent | b710d7e4c320fb299cf1ab2ec12e3821dc338bc8 (diff) | |
| download | cpython-git-93963569487bd3d13962c92d64a128e27330cf02.tar.gz | |
Backout c89febab4648 following private feedback by Guido.
(Issue #17807: Generators can now be finalized even when they are part of a reference cycle)
Diffstat (limited to 'Lib/test/test_sys.py')
| -rw-r--r-- | Lib/test/test_sys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 83149776cd..4749f24442 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -764,7 +764,7 @@ class SizeofTest(unittest.TestCase): nfrees = len(x.f_code.co_freevars) extras = x.f_code.co_stacksize + x.f_code.co_nlocals +\ ncells + nfrees - 1 - check(x, vsize('13P3i' + CO_MAXBLOCKS*'3i' + 'P' + extras*'P')) + check(x, vsize('12P3i' + CO_MAXBLOCKS*'3i' + 'P' + extras*'P')) # function def func(): pass check(func, size('12P')) |
