mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #10783: Fix test_sys, pack('c', ' ') => pack('c', b' ')
This commit is contained in:
parent
da9ec995f6
commit
baab9d0bf6
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ class SizeofTest(unittest.TestCase):
|
|||
TPFLAGS_HEAPTYPE = 1<<9
|
||||
|
||||
def setUp(self):
|
||||
self.c = len(struct.pack('c', ' '))
|
||||
self.c = len(struct.pack('c', b' '))
|
||||
self.H = len(struct.pack('H', 0))
|
||||
self.i = len(struct.pack('i', 0))
|
||||
self.l = len(struct.pack('l', 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue