Author: thomas.heller Date: Thu Jul 12 13:59:52 2007 New Revision: 56313 Modified: python/branches/py3k-struni/Lib/ctypes/test/test_objects.py Log: Fix a ctypes test.
Modified: python/branches/py3k-struni/Lib/ctypes/test/test_objects.py ============================================================================== --- python/branches/py3k-struni/Lib/ctypes/test/test_objects.py (original) +++ python/branches/py3k-struni/Lib/ctypes/test/test_objects.py Thu Jul 12 13:59:52 2007 @@ -22,9 +22,9 @@ >>> array[4] = 'foo bar' >>> array._objects -{'4': 'foo bar'} +{s'4': b'foo bar'} >>> array[4] -'foo bar' +s'foo bar' >>> It gets more complicated when the ctypes instance itself is contained @@ -47,9 +47,9 @@ >>> x.array[0] = 'spam spam spam' >>> x._objects -{'0:2': 'spam spam spam'} +{s'0:2': b'spam spam spam'} >>> x.array._b_base_._objects -{'0:2': 'spam spam spam'} +{s'0:2': b'spam spam spam'} >>> ''' _______________________________________________ Python-3000-checkins mailing list Python-3000-checkins@python.org http://mail.python.org/mailman/listinfo/python-3000-checkins