Skip to content

Commit

Permalink
TST: compatibility with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Jul 7, 2022
1 parent 68cd3d1 commit 3645b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _cwd(directory):
def test_notebook_script(directory: Path):
# Run in native directory with modified sys.path for imports to work
with _cwd(notebook_dir / directory):
runpy.run_path(notebook_dir / directory / "example.py", run_name="testing")
runpy.run_path(str(notebook_dir / directory / "example.py"), run_name="testing")


@pytest.mark.parametrize("filename", notebooks)
Expand Down

0 comments on commit 3645b55

Please sign in to comment.