Make test_posixpath.py pass.

This commit is contained in:
Guido van Rossum 2007-07-10 12:07:30 +00:00
parent 469734b996
commit 98f1375f0e
1 changed files with 1 additions and 1 deletions

View File

@ -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) <=