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

index 53c4607ee2c1262b2496fcbc145f05a53e780c1e..0c793abe790374eab2e4fc96230faeba391339c9 100644 (file)
@@ -48,7 +48,7 @@ class AllCommonTest(unittest.TestCase):
             f = open(test_support.TESTFN, "rb")
             d = f.read()
             f.close()
-            self.assertEqual(d, "foobar")
+            self.assertEqual(d, b"foobar")
 
             self.assert_(
                 genericpath.getctime(test_support.TESTFN) <=