diff --git a/tests/conftest.py b/tests/conftest.py index b52872a89..c2b7cf85b 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -3,6 +3,10 @@ import sys import pytest + +# Must be set before importing from `jupyter_core`. +os.environ['JUPYTER_PLATFORM_DIRS'] = '1' + from jupyter_core import paths from .utils import test_env