Kaydet (Commit) 4ccc7277 authored tarafından Victor Stinner's avatar Victor Stinner

Issue #10278: wallclock() cannot go backward, but two consecutive calls

may return the same time.
üst 6d766fc3
......@@ -334,7 +334,7 @@ class TimeTestCase(unittest.TestCase):
def test_wallclock(self):
t1 = time.wallclock()
t2 = time.wallclock()
self.assertGreater(t2, t1)
self.assertGreaterEqual(t2, t1)
t1 = time.wallclock()
time.sleep(0.1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment