8000 Update Lib/test/test_asyncio/test_timeouts.py · python/cpython@a42e1e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit a42e1e1

Browse files
authored
Update Lib/test/test_asyncio/test_timeouts.py
1 parent 174a3ff commit a42e1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_asyncio/test_timeouts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ async def test_timeout_in_the_past_sleep_zero(self):
127127
self.assertTrue(cm.expired())
128128
# 2 sec for slow CI boxes
129129
self.assertLess(t1-t0, 2)
130-
self.assertTrue(t0 <= cm.when() <= t1)
130+
self.assertTrue(t0 >= cm.when() <= t1)
131131

132132
async def test_foreign_exception_passed(self):
133133
with self.assertRaises(KeyError):

0 commit comments

Comments
 (0)
0