Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(152)

Unified Diff: Lib/test/test_sys.py

Issue 29259: Add tp_fastcall to PyTypeObject: support FASTCALL calling convention for all callable objects
Patch Set: Created 2 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_gdb.py ('k') | Modules/_operator.c » ('j') | Objects/abstract.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_sys.py Wed Jan 25 23:33:27 2017 +0100
+++ b/Lib/test/test_sys.py Thu Jan 26 02:43:18 2017 +0100
@@ -940,7 +940,7 @@ class SizeofTest(unittest.TestCase):
import collections
check(collections.defaultdict.default_factory, size('3PP'))
# wrapper_descriptor (descriptor object)
- check(int.__add__, size('3P2P'))
+ check(int.__add__, size('3P2Pi'))
# method-wrapper (descriptor object)
check({}.__iter__, size('2P'))
# dict
@@ -1092,7 +1092,7 @@ class SizeofTest(unittest.TestCase):
check((1,2,3), vsize('') + 3*self.P)
# type
# static type: PyTypeObject
- fmt = 'P2n15Pl4Pn9Pn11PIP'
+ fmt = 'P2n15Pl4Pn9Pn11PIPP'
if hasattr(sys, 'getcounts'):
fmt += '3n2P'
s = vsize(fmt)
« no previous file with comments | « Lib/test/test_gdb.py ('k') | Modules/_operator.c » ('j') | Objects/abstract.c » ('J')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+