Skip to content

Commit 0017061

Browse files
committed
Remove obsoleted asyncio-patch fixture
1 parent 3220f4f commit 0017061

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

jupyter_server/pytest_plugin.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -120,26 +120,6 @@ def jp_environ(
120120

121121
# ================= End: Move to Jupyter core ================
122122

123-
# NOTE: This is a temporary fix for Windows 3.8
124-
# We have to override the io_loop fixture with an
125-
# asyncio patch. This will probably be removed in
126-
# the future.
127-
@pytest.fixture
128-
def jp_asyncio_patch():
129-
"""Appropriately configures the event loop policy if running on Windows w/ Python >= 3.8."""
130-
ServerApp()._init_asyncio_patch()
131-
132-
133-
@pytest.fixture
134-
def io_loop(jp_asyncio_patch):
135-
"""Returns an ioloop instance that includes the asyncio patch for Windows 3.8 platforms."""
136-
loop = tornado.ioloop.IOLoop()
137-
loop.make_current()
138-
yield loop
139-
loop.clear_current()
140-
loop.close(all_fds=True)
141-
142-
143123
@pytest.fixture
144124
def jp_server_config():
145125
"""Allows tests to setup their specific configuration values. """

0 commit comments

Comments
 (0)