
Author: victor.stinner Date: Tue Dec 28 14:33:43 2010 New Revision: 87538 Log: Issue #10783: Fix test_sys, pack('c', ' ') => pack('c', b' ') Modified: python/branches/py3k/Lib/test/test_sys.py Modified: python/branches/py3k/Lib/test/test_sys.py ============================================================================== --- python/branches/py3k/Lib/test/test_sys.py (original) +++ python/branches/py3k/Lib/test/test_sys.py Tue Dec 28 14:33:43 2010 @@ -569,7 +569,7 @@ 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))
participants (1)
-
victor.stinner