diff options
| author | Guido van Rossum <guido@python.org> | 2013-10-18 07:54:05 -0700 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2013-10-18 07:54:05 -0700 |
| commit | 5bf22a4086bc00a947ba8aa4fa2036ea18511dfe (patch) | |
| tree | 6dd2ca331a3276a8c8323a8d23de13aa687ceea7 | |
| parent | 03e6f5f9033996460daa49be2f934e833c456e9b (diff) | |
| download | trollius-git-5bf22a4086bc00a947ba8aa4fa2036ea18511dfe.tar.gz | |
More lenient delay expectancy in test_call_later().
| -rw-r--r-- | tests/events_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/events_test.py b/tests/events_test.py index 67b2cfc..f5f51e5 100644 --- a/tests/events_test.py +++ b/tests/events_test.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 = [] |
