Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xadupre committed Feb 16, 2025
1 parent bd84b1b commit df0bdbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ruff
scikit-image
seaborn
skrub
sounddevice
sphinx
sphinx-gallery
sphinx-issues
Expand Down
1 change: 1 addition & 0 deletions teachpyx/ext_test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def assertEndsWith(self, string, suffix):
raise AssertionError(f"{string!r} does not end with {suffix!r}.")

def assertExists(self, name):
"Checks a filename exists."
if not os.path.exists(name):
raise AssertionError(f"File or folder {name!r} does not exists.")

Expand Down

0 comments on commit df0bdbe

Please sign in to comment.