Remove outdated comment
This commit is contained in:
parent
58a798444d
commit
3cd22b30bf
1 changed files with 0 additions and 4 deletions
|
@ -11,10 +11,6 @@ TEST_PREFIX = "redis-om:testing"
|
||||||
|
|
||||||
@pytest.fixture(scope="session")
|
@pytest.fixture(scope="session")
|
||||||
def event_loop(request):
|
def event_loop(request):
|
||||||
"""
|
|
||||||
Starlette needs a session-scoped event loop during test runs.
|
|
||||||
https://github.com/pytest-dev/pytest-asyncio/issues/169
|
|
||||||
"""
|
|
||||||
loop = asyncio.get_event_loop_policy().new_event_loop()
|
loop = asyncio.get_event_loop_policy().new_event_loop()
|
||||||
yield loop
|
yield loop
|
||||||
loop.close()
|
loop.close()
|
||||||
|
|
Loading…
Reference in a new issue