summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_posixpath.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py
index 88aa68c..bcb29df 100644
--- a/Lib/test/test_posixpath.py
+++ b/Lib/test/test_posixpath.py
@@ -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) <=