Skip to content

Commit

Permalink
Cast Path to str
Browse files Browse the repository at this point in the history
  • Loading branch information
karibbov committed Jun 18, 2024
1 parent 6f539e8 commit e8a1868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def no_logs_gte_error(caplog):
def test_core_examples(example):
if example.name == "analyse.py":
# Run hyperparameters example to have something to analyse
runpy.run_path(core_examples_scripts[0], run_name="__main__")
runpy.run_path(str(core_examples_scripts[0]), run_name="__main__")

runpy.run_path(example, run_name="__main__")
runpy.run_path(str(example), run_name="__main__")


@pytest.mark.ci_examples
Expand Down

0 comments on commit e8a1868

Please sign in to comment.