Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_examples/conftest.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

import pytest


@pytest.fixture(scope="session")
def examples_path():
from pathlib import Path

return Path(__file__).parents[2] / "examples"
1 change: 0 additions & 1 deletion tests/test_examples/test_examples.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import pytest

from tests.utils import run_notebook
Expand Down
2 changes: 1 addition & 1 deletion tests/utils/jupyter.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import nbformat
from nbconvert.preprocessors import ExecutePreprocessor


def run_notebook(path):
with open(str(path)) as f:
nb = nbformat.read(f, nbformat.NO_CONVERT)
Expand Down
Loading