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 3bc072c commit bf96995Copy full SHA for bf96995
pandas/tests/io/parser/test_python_parser_only.py
@@ -324,6 +324,6 @@ def test_file_descriptor_leak(python_parser_only):
324
parser = python_parser_only
325
with tm.ensure_clean() as path:
326
expected = proc.open_files()
327
- with pytest.raises(EmptyDataError):
+ with pytest.raises(EmptyDataError, match="No columns to parse from file"):
328
parser.read_csv(path)
329
assert proc.open_files() == expected
0 commit comments