Author: thomas.heller
Date: Thu Jul 12 21:24:59 2007
New Revision: 56329

Modified:
   python/branches/py3k-struni/Lib/ctypes/test/test_strings.py
Log:
Fix another test.

Modified: python/branches/py3k-struni/Lib/ctypes/test/test_strings.py
==============================================================================
--- python/branches/py3k-struni/Lib/ctypes/test/test_strings.py (original)
+++ python/branches/py3k-struni/Lib/ctypes/test/test_strings.py Thu Jul 12 
21:24:59 2007
@@ -37,7 +37,7 @@
     def test_c_buffer_raw(self):
         buf = c_buffer(32)
 
-        buf.raw = buffer("Hello, World")
+        buf.raw = buffer(b"Hello, World")
         self.failUnlessEqual(buf.value, "Hello, World")
         self.assertRaises(TypeError, setattr, buf, "value", buffer("abc"))
         self.assertRaises(ValueError, setattr, buf, "raw", buffer("x" * 100))
_______________________________________________
Python-3000-checkins mailing list
Python-3000-checkins@python.org
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to