summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_genericpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_genericpath.py b/Lib/test/test_genericpath.py
index 53c4607..0c793ab 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) <=