We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c62075 commit a2da48aCopy full SHA for a2da48a
tests/test_cmd2.py
@@ -1796,7 +1796,7 @@ def test_commandresult_falsy(commandresult_app):
1796
def test_is_text_file_bad_input(base_app):
1797
# Test with a non-existent file
1798
with pytest.raises(FileNotFoundError):
1799
- utils.is_text_file('does_not_exist.txt')
+ utils.is_text_file('./does_not_exist.txt')
1800
1801
# Test with a directory
1802
with pytest.raises(IsADirectoryError):
0 commit comments