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 b5aa527 commit c9943e0Copy full SHA for c9943e0
pandas/tests/io/parser/test_common.py
@@ -960,7 +960,7 @@ def test_nonexistent_path(all_parsers):
960
parser = all_parsers
961
path = f"{tm.rands(10)}.csv"
962
963
- msg = f"File {path} does not exist" if parser.engine == "c" else r"\[Errno 2\]"
+ msg = r"\[Errno 2\]"
964
with pytest.raises(FileNotFoundError, match=msg) as e:
965
parser.read_csv(path)
966
0 commit comments