Skip to content

Commit a2da48a

Browse files
committed
Try to fix failing test on Windows
1 parent 1c62075 commit a2da48a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@ def test_commandresult_falsy(commandresult_app):
17961796
def test_is_text_file_bad_input(base_app):
17971797
# Test with a non-existent file
17981798
with pytest.raises(FileNotFoundError):
1799-
utils.is_text_file('does_not_exist.txt')
1799+
utils.is_text_file('./does_not_exist.txt')
18001800

18011801
# Test with a directory
18021802
with pytest.raises(IsADirectoryError):

0 commit comments

Comments
 (0)