summaryrefslogtreecommitdiff
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-05-14 20:37:52 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2013-05-14 20:37:52 +0200
commit93963569487bd3d13962c92d64a128e27330cf02 (patch)
tree6966ad6d6148e5ede6183a80a62890470f10d612 /Lib/test/test_sys.py
parentb710d7e4c320fb299cf1ab2ec12e3821dc338bc8 (diff)
downloadcpython-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.py2
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'))