summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2014-08-06 23:31:40 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2014-08-06 23:31:40 (GMT)
commitb349e4c929131eb708ff3db569077f0c851338e9 (patch)
tree3d5b5e89bcc0f2c55587459d3bc91ee34a94d74b /Lib/test/test_sys.py
parentf3440c6881a0fdb24ea30f971ebc0fd091bc7ffb (diff)
downloadcpython-b349e4c929131eb708ff3db569077f0c851338e9.zip
cpython-b349e4c929131eb708ff3db569077f0c851338e9.tar.gz
cpython-b349e4c929131eb708ff3db569077f0c851338e9.tar.bz2
Issue #22116: C functions and methods (of the 'builtin_function_or_method' type) can now be weakref'ed. Patch by Wei Wu.
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 854e786..c50b20b 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -784,7 +784,7 @@ class SizeofTest(unittest.TestCase):
# buffer
# XXX
# builtin_function_or_method
- check(len, size('3P')) # XXX check layout
+ check(len, size('4P')) # XXX check layout
# bytearray
samples = [b'', b'u'*100000]
for sample in samples: