Skip to content

Commit

Permalink
Use a more obviously bad path
Browse files Browse the repository at this point in the history
  • Loading branch information
rafmudaf committed Dec 1, 2023
1 parent 2beadee commit 232f498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/type_dec_unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def test_convert_to_path():
assert test_file == file_input

# Test that a non-existent folder fails, now that the conversion has a multi-pronged search
str_input = str(Path(__file__).parent / "tests")
str_input = str(Path(__file__).parent / "bad_path")
with pytest.raises(FileExistsError):
convert_to_path(str_input)

Expand Down

0 comments on commit 232f498

Please sign in to comment.