]> granicus.if.org Git - python/commitdiff
Make test_posixpath.py pass.
authorGuido van Rossum <guido@python.org>
Tue, 10 Jul 2007 12:07:30 +0000 (12:07 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 10 Jul 2007 12:07:30 +0000 (12:07 +0000)
Lib/test/test_posixpath.py

index 88aa68c5b3caa7c07fbcfb4e02984f9f5b777ab5..bcb29dfc7293fc7497f8b215e7116dc72914fb26 100644 (file)
@@ -161,7 +161,7 @@ class PosixPathTest(unittest.TestCase):
             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) <=