diff options
author | Guido van Rossum <guido@dropbox.com> | 2013-10-18 14:58:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@dropbox.com> | 2013-10-18 14:58:20 (GMT) |
commit | 57497ad1810304ef74774fb1abd379dec80f458b (patch) | |
tree | 1696f5389cdad967002eff56160765936aba9010 /Lib/test/test_asyncio/test_events.py | |
parent | 40b22d0661c45ac350a7252a32ef665b81b1643c (diff) | |
download | cpython-57497ad1810304ef74774fb1abd379dec80f458b.zip cpython-57497ad1810304ef74774fb1abd379dec80f458b.tar.gz cpython-57497ad1810304ef74774fb1abd379dec80f458b.tar.bz2 |
Rename Transport.pause/resume to pause_reading/pause_writing. Also relax timeout in test_call_later().
Diffstat (limited to 'Lib/test/test_asyncio/test_events.py')
-rw-r--r-- | Lib/test/test_asyncio/test_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index a9a9271..2e89f72 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -238,7 +238,7 @@ class EventLoopTestsMixin: self.loop.run_forever() t1 = time.monotonic() self.assertEqual(results, ['hello world']) - self.assertTrue(0.09 <= t1-t0 <= 0.12, t1-t0) + self.assertTrue(0.08 <= t1-t0 <= 0.2, t1-t0) def test_call_soon(self): results = [] |