aboutsummaryrefslogtreecommitdiff
path: root/test_pytest/conftest.py
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2022-06-27 01:13:26 +0200
committerbozo.kopic <bozo@kopic.xyz>2022-06-27 01:13:26 +0200
commit8d1d7b7b4a48187f5849548bbc6bb543d6de33ba (patch)
tree557eff5ff465d1ff096abbcca0005dca08ca959c /test_pytest/conftest.py
parent75cc60fd42c58cadc28f5eb4499f197604254aba (diff)
WIP native implementation
Diffstat (limited to 'test_pytest/conftest.py')
-rw-r--r--test_pytest/conftest.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/test_pytest/conftest.py b/test_pytest/conftest.py
index 866d3ce..91f389b 100644
--- a/test_pytest/conftest.py
+++ b/test_pytest/conftest.py
@@ -1,17 +1,5 @@
-import pytest
-
from hat import aio
-loop = None
-
-
-@pytest.fixture(scope='session')
-def event_loop():
- yield loop
- loop.close()
-
-
def pytest_configure(config):
- global loop
- loop = aio.init_asyncio()
+ aio.init_asyncio()