summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-12-28 13:33:43 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-12-28 13:33:43 (GMT)
commitbaab9d0bf6d1627aa292a7639878ae9ba46fc2ca (patch)
treec2ec3dd7035a0e69354816645769e2a2d7bb7401 /Lib/test
parentda9ec995f66bdb69dce7292abc4e1ca86e6a626a (diff)
downloadcpython-baab9d0bf6d1627aa292a7639878ae9ba46fc2ca.zip
cpython-baab9d0bf6d1627aa292a7639878ae9ba46fc2ca.tar.gz
cpython-baab9d0bf6d1627aa292a7639878ae9ba46fc2ca.tar.bz2
Issue #10783: Fix test_sys, pack('c', ' ') => pack('c', b' ')
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_sys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index d7d77f0..92b7c42 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -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))