[Python-3000-checkins] r56236 - python/branches/py3k-struni/Lib/test/test_posixpath.py

guido.van.rossum python-3000-checkins at python.org
Tue Jul 10 14:07:30 CEST 2007


Author: guido.van.rossum
Date: Tue Jul 10 14:07:30 2007
New Revision: 56236

Modified:
   python/branches/py3k-struni/Lib/test/test_posixpath.py
Log:
Make test_posixpath.py pass.


Modified: python/branches/py3k-struni/Lib/test/test_posixpath.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/test_posixpath.py	(original)
+++ python/branches/py3k-struni/Lib/test/test_posixpath.py	Tue Jul 10 14:07:30 2007
@@ -161,7 +161,7 @@
             f = open(test_support.TESTFN, "rb")
             d = f.read()
             f.close()
-            self.assertEqual(d, "foobar")
+            self.assertEqual(d, b"foobar")
 
             self.assert_(
                 posixpath.getctime(test_support.TESTFN) <=


More information about the Python-3000-checkins mailing list