mirror of
https://github.com/python/cpython.git
synced 2024-11-26 11:24:40 +08:00
Make test_genericpath pass.
This commit is contained in:
parent
98f1375f0e
commit
dc12288e11
@ -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) <=
|
||||
|
Loading…
Reference in New Issue
Block a user