aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_posixpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_posixpath.py')
-rw-r--r--Lib/test/test_posixpath.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py
index 6123ae25904..14146db4b21 100644
--- a/Lib/test/test_posixpath.py
+++ b/Lib/test/test_posixpath.py
@@ -229,8 +229,8 @@ class PosixPathTest(unittest.TestCase):
f.close()
self.assertEqual(d, b"foobar")
- self.assertTrue(
- posixpath.getctime(support.TESTFN) <=
+ self.assertLessEqual(
+ posixpath.getctime(support.TESTFN),
posixpath.getmtime(support.TESTFN)
)
finally: