summaryrefslogtreecommitdiff
path: root/tests/test_base_events.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2013-11-23 11:48:31 -0800
committerGuido van Rossum <guido@python.org>2013-11-23 11:48:31 -0800
commit1c1b00034f6f2686b5f572f3ae9c1d2eaafbf2b0 (patch)
treec4eb781b488b0064ea51226dee7e099d8352b6e9 /tests/test_base_events.py
parente89b8e092a7d299e0c7e51d3b8c4cee9b9c3fdc4 (diff)
downloadtrollius-1c1b00034f6f2686b5f572f3ae9c1d2eaafbf2b0.tar.gz
Relax timing (from upstream CPython repo).
Diffstat (limited to 'tests/test_base_events.py')
-rw-r--r--tests/test_base_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_base_events.py b/tests/test_base_events.py
index ff537ab..96f2975 100644
--- a/tests/test_base_events.py
+++ b/tests/test_base_events.py
@@ -181,7 +181,7 @@ class BaseEventLoopTests(unittest.TestCase):
self.loop._run_once()
t = self.loop._selector.select.call_args[0][0]
- self.assertTrue(9.9 < t < 10.1, t)
+ self.assertTrue(9.5 < t < 10.5, t)
self.assertEqual([h2], self.loop._scheduled)
self.assertTrue(self.loop._process_events.called)