summaryrefslogtreecommitdiff
path: root/tests/test_schedulers.py
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2014-05-30 10:47:02 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2014-05-30 10:47:02 +0300
commit435d0ba09bdf0737f595041223ba74640786270a (patch)
treec823581e1214951b96033b2eec87c700f1886640 /tests/test_schedulers.py
parent1c844df9d58674b8d79a6e440b0f470c514b8c9a (diff)
downloadapscheduler-435d0ba09bdf0737f595041223ba74640786270a.tar.gz
Fixed AsyncIO not getting tested on Python 3.2 and lower
Diffstat (limited to 'tests/test_schedulers.py')
-rw-r--r--tests/test_schedulers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_schedulers.py b/tests/test_schedulers.py
index 84b6f9a..e9ad7c2 100644
--- a/tests/test_schedulers.py
+++ b/tests/test_schedulers.py
@@ -530,8 +530,8 @@ class TestBackgroundScheduler(SchedulerImplementationTestBase):
class TestAsyncIOScheduler(SchedulerImplementationTestBase):
@pytest.fixture
def event_loop(self):
- asyncio = pytest.importorskip('asyncio')
- return asyncio.new_event_loop()
+ asyncio = pytest.importorskip('apscheduler.schedulers.asyncio')
+ return asyncio.asyncio.new_event_loop()
@pytest.fixture
def scheduler(self, event_loop):