From bb48e78fd87998a3fd695c1f45c64a0f533e7ed9 Mon Sep 17 00:00:00 2001 From: Fridolin Glatter Date: Wed, 11 Sep 2024 16:28:19 +0200 Subject: [PATCH] Drop workaround for jupyter/nbclient#85 --- ixmp/testing/jupyter.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ixmp/testing/jupyter.py b/ixmp/testing/jupyter.py index 3c3cdbf9e..7850dc50b 100644 --- a/ixmp/testing/jupyter.py +++ b/ixmp/testing/jupyter.py @@ -48,16 +48,6 @@ def run_notebook(nb_path, tmp_path, env=None, **kwargs): import nbformat from nbclient import NotebookClient - # Workaround for https://github.com/jupyter/nbclient/issues/85 - if ( - sys.version_info[0] == 3 - and sys.version_info[1] >= 8 - and sys.platform.startswith("win") - ): - import asyncio - - asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) - # Read the notebook nb = nbformat.read(nb_path, as_version=4)