Skip to content

Commit ffcc4f6

Browse files
Remove special case error message for c parser
1 parent ab42d6b commit ffcc4f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/io/parser/test_common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ def test_nonexistent_path(all_parsers):
960960
parser = all_parsers
961961
path = f"{tm.rands(10)}.csv"
962962

963-
msg = f"File {path} does not exist" if parser.engine == "c" else r"\[Errno 2\]"
963+
msg = r"\[Errno 2\]"
964964
with pytest.raises(FileNotFoundError, match=msg) as e:
965965
parser.read_csv(path)
966966

0 commit comments

Comments
 (0)