summaryrefslogtreecommitdiff
path: root/tests/timer_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/timer_test.py')
-rw-r--r--tests/timer_test.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/timer_test.py b/tests/timer_test.py
index 8e88eee..25446a4 100644
--- a/tests/timer_test.py
+++ b/tests/timer_test.py
@@ -24,9 +24,6 @@ class TestTimer(TestCase):
# t = timer.Timer(0, lambda: (called.append(True), hub.abort()))
# t.schedule()
# let's have a timer somewhere in the future; make sure abort() still works
- # (for pyevent, its dispatcher() does not exit if there is something scheduled)
- # XXX pyevent handles this, other hubs do not
- # hubs.get_hub().schedule_call_global(10000, lambda: (called.append(True), hub.abort()))
hubs.get_hub().schedule_call_global(0, lambda: (called.append(True), hub.abort()))
hub.default_sleep = lambda: 0.0
hub.switch()