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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc12288e1114a41221c5dbc1f300fea0a6cd83c5;p=python Make test_genericpath pass. --- diff --git a/Lib/test/test_genericpath.py b/Lib/test/test_genericpath.py index 53c4607ee2..0c793abe79 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) <=