Debian Codegraph @

tests/conftest.py

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 import asyncio
2 import os
3
4 if os.name == "nt":
5 asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) # type:ignore
6
7 import pytest
8
9 # Must be set before importing from `jupyter_core`.
10 os.environ["JUPYTER_PLATFORM_DIRS"] = "1"
11
12
13 pytest_plugins = ["pytest_jupyter", "pytest_jupyter.jupyter_client"]
14
15
16 @pytest.fixture(autouse=True)
17 def setup_environ(jp_environ):
18 pass