diff options
author | Dong-hee Na <donghee.na@python.org> | 2022-01-24 00:39:45 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 00:39:45 +0900 |
commit | 76dc047a0e88d10aad0405228d56e94438cdd91c (patch) | |
tree | 854e9d3907e40f25d4c5ddaac7a92de44e106cb3 /Lib/test | |
parent | 1f715d5bd3bc9ff444e109b6bbd13011913681b1 (diff) | |
download | cpython-git-76dc047a0e88d10aad0405228d56e94438cdd91c.tar.gz |
bpo-46481: Implement vectorcall for weakref.ref.__call__ method. (GH-30820)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_sys.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index accd35e4ab..f6da57f55f 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -1538,11 +1538,11 @@ class SizeofTest(unittest.TestCase): # TODO: add check that forces layout of unicodefields # weakref import weakref - check(weakref.ref(int), size('2Pn2P')) + check(weakref.ref(int), size('2Pn3P')) # weakproxy # XXX # weakcallableproxy - check(weakref.proxy(int), size('2Pn2P')) + check(weakref.proxy(int), size('2Pn3P')) def check_slots(self, obj, base, extra): expected = sys.getsizeof(base) + struct.calcsize(extra) |