summaryrefslogtreecommitdiff
path: root/tests/timer_test.py
diff options
context:
space:
mode:
authorSergey Shepelev <temotor@gmail.com>2018-02-17 22:41:37 +0300
committerSergey Shepelev <temotor@gmail.com>2018-03-11 02:21:01 +0300
commitfb300387a2f2761423dc71b3e4d18cb26a360368 (patch)
tree0dad33d1bf722f8701c5b919d658d3f559c06912 /tests/timer_test.py
parent8fe75a76e773305f9748e3922aaf44bf4c39a939 (diff)
downloadeventlet-up.tar.gz
hubs: drop pyevent hubup
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()