We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 373911d commit d8f1733Copy full SHA for d8f1733
pandas/tests/io/parser/test_unsupported.py
@@ -155,12 +155,8 @@ def test_pyarrow_engine(self):
155
kwargs[default] = "warn"
156
157
warn = None
158
- depr_msg = None
+ depr_msg = "The 'delim_whitespace' keyword in pd.read_csv is deprecated"
159
if "delim_whitespace" in kwargs:
160
- depr_msg = "The 'delim_whitespace' keyword in pd.read_csv is deprecated"
161
- warn = FutureWarning
162
- if "verbose" in kwargs:
163
- depr_msg = "The 'verbose' keyword in pd.read_csv is deprecated"
164
warn = FutureWarning
165
166
with pytest.raises(ValueError, match=msg):
0 commit comments