Skip to content

Commit

Permalink
Remove asyncio
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Apr 25, 2023
1 parent 85aad81 commit 63152c5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions holoviews/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
import asyncio

import pytest

from panel.io import state

# Tornado 6.2 has deprecated the use of IOLoop.current,
# when no asyncio event loop is running.
# This will start an event loop.
try:
asyncio.get_running_loop()
except RuntimeError:
# Create a new asyncio event loop for this thread.
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)


@pytest.fixture(autouse=True)
def server_cleanup():
Expand Down

0 comments on commit 63152c5

Please sign in to comment.