We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce85355 commit 8970d9bCopy full SHA for 8970d9b
1 file changed
tests/test_tutorials.py
@@ -1,17 +1,16 @@
1
-import os
2
-
3
-# Ensure Jupyter uses the new platformdirs paths to avoid DeprecationWarning
4
-# This will become the default in `jupyter_core` v6
5
-os.environ.setdefault("JUPYTER_PLATFORM_DIRS", "1")
6
7
import contextlib
+import os
8
from pathlib import Path
9
10
import nbformat
11
import pytest
12
from nbclient import NotebookClient
13
from nbclient.exceptions import CellExecutionError
14
+# Ensure Jupyter uses the new platformdirs paths to avoid DeprecationWarning
+# This will become the default in `jupyter_core` v6
+os.environ.setdefault("JUPYTER_PLATFORM_DIRS", "1")
+
15
16
def _find_tutorial_notebooks():
17
"""Return a sorted list of notebook Paths under doc/tutorials.
0 commit comments