mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Closes #22668: Merge from 3.4.
This commit is contained in:
commit
f5324d7074
5 changed files with 78 additions and 9 deletions
|
@ -965,7 +965,7 @@ class SizeofTest(unittest.TestCase):
|
|||
check(int(PyLong_BASE**2-1), vsize('') + 2*self.longdigit)
|
||||
check(int(PyLong_BASE**2), vsize('') + 3*self.longdigit)
|
||||
# memoryview
|
||||
check(memoryview(b''), size('Pnin 2P2n2i5P 3cPn'))
|
||||
check(memoryview(b''), size('Pnin 2P2n2i5P Pn'))
|
||||
# module
|
||||
check(unittest, size('PnPPP'))
|
||||
# None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue