From: Guido van Rossum Date: Tue, 10 Jul 2007 12:09:13 +0000 (+0000) Subject: Make test_genericpath pass. X-Git-Tag: v3.0a1~709 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc12288e1114a41221c5dbc1f300fea0a6cd83c5;p=thirdparty%2FPython%2Fcpython.git Make test_genericpath pass. --- diff --git a/Lib/test/test_genericpath.py b/Lib/test/test_genericpath.py index 53c4607ee2c1..0c793abe7903 100644 --- a/Lib/test/test_genericpath.py +++ b/Lib/test/test_genericpath.py @@ -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) <=