Skip to content

Commit

Permalink
test: update error message matching
Browse files Browse the repository at this point in the history
  • Loading branch information
kmnhan committed Dec 5, 2024
1 parent 4856e70 commit b4d9f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/io/test_dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def files_for_summary(self, data_dir):
match=re.escape(
str(
FileNotFoundError(
errno.ENOENT, os.strerror(errno.ENOENT), "some_nonexistent_dir"
errno.ENOENT, os.strerror(errno.ENOENT), ".*some_nonexistent_dir"
)
)
),
Expand Down

0 comments on commit b4d9f77

Please sign in to comment.