Skip to content

Commit

Permalink
Use platform dirs in tests (#872)
Browse files Browse the repository at this point in the history
* use platform dirs in tests

* set env variable sooner

* add note
  • Loading branch information
blink1073 authored Nov 9, 2022
1 parent 9b12e91 commit 268a3c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 268a3c5

Please sign in to comment.