We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49e807e commit 4d3cb82Copy full SHA for 4d3cb82
pytest_jupyter/jupyter_server.py
@@ -1,6 +1,7 @@
1
# Copyright (c) Jupyter Development Team.
2
# Distributed under the terms of the Modified BSD License.
3
4
+import asyncio
5
import importlib
6
import io
7
import logging
@@ -69,7 +70,7 @@ async def get_server():
69
70
if hasattr(server, "close_all_connections"):
71
try:
72
io_loop.run_sync(server.close_all_connections)
- except TimeoutError:
73
+ except asyncio.TimeoutError:
74
pass
75
76
http_server_port[0].close()
0 commit comments