mirror of https://github.com/python/cpython
Make test_posixpath.py pass.
This commit is contained in:
parent
469734b996
commit
98f1375f0e
|
@ -161,7 +161,7 @@ class PosixPathTest(unittest.TestCase):
|
||||||
f = open(test_support.TESTFN, "rb")
|
f = open(test_support.TESTFN, "rb")
|
||||||
d = f.read()
|
d = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
self.assertEqual(d, "foobar")
|
self.assertEqual(d, b"foobar")
|
||||||
|
|
||||||
self.assert_(
|
self.assert_(
|
||||||
posixpath.getctime(test_support.TESTFN) <=
|
posixpath.getctime(test_support.TESTFN) <=
|
||||||
|
|
Loading…
Reference in New Issue