Issue #10783: Fix test_sys, pack('c', ' ') => pack('c', b' ')

This commit is contained in:
Victor Stinner 2010-12-28 13:33:43 +00:00
parent da9ec995f6
commit baab9d0bf6
1 changed files with 1 additions and 1 deletions

View File

@ -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))