Skip to content

Commit

Permalink
fix test_mkdir
Browse files Browse the repository at this point in the history
Signed-off-by: harupy <hkawamura0130@gmail.com>
  • Loading branch information
harupy committed Dec 4, 2021
1 parent ff22d93 commit c76f43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/test_file_utils.py
Expand Up @@ -95,7 +95,7 @@ def test_mkdir(tmpdir):
# raises if it exists already but is a file
dummy_file_path = str(tmpdir.join("dummy_file"))
open(dummy_file_path, "a").close()
with pytest.raises(OSError, match="File exists"):
with pytest.raises(OSError, match="exists"):
file_utils.mkdir(dummy_file_path)


Expand Down

0 comments on commit c76f43a

Please sign in to comment.