We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7276c75 commit c68fd54Copy full SHA for c68fd54
pandas/tests/io/parser/test_compression.py
@@ -85,7 +85,7 @@ def test_zip_error_invalid_zip(parser_and_data):
85
86
with tm.ensure_clean() as path:
87
with open(path, "rb") as f:
88
- with pytest.raises(zipfile.BadZipfile, match="File is not a zip file"):
+ with pytest.raises(zipfile.BadZipFile, match="File is not a zip file"):
89
parser.read_csv(f, compression="zip")
90
91
0 commit comments