diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-05-08 16:12:35 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-05-08 16:12:35 (GMT) |
commit | 04e70d19e7a5ab0cea7d3d231606180226e16f06 (patch) | |
tree | a1956f14fe0e89e656fd2161178dad0e25ff4b14 /Lib/test/test_sys.py | |
parent | 070cb3c9bed3fbdbda42c257e05d46adcbeb784e (diff) | |
download | cpython-04e70d19e7a5ab0cea7d3d231606180226e16f06.zip cpython-04e70d19e7a5ab0cea7d3d231606180226e16f06.tar.gz cpython-04e70d19e7a5ab0cea7d3d231606180226e16f06.tar.bz2 |
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 4749f24..8314977 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('12P3i' + CO_MAXBLOCKS*'3i' + 'P' + extras*'P')) + check(x, vsize('13P3i' + CO_MAXBLOCKS*'3i' + 'P' + extras*'P')) # function def func(): pass check(func, size('12P')) |