Skip to content

Commit d8f1733

Browse files
Aloqeelypmhatre1
authored andcommitted
TST: Remove deprecation check from test_pyarrow_engine (pandas-dev#58175)
Delete deprecation check Co-authored-by: Abdulaziz Aloqeely <[email protected]>
1 parent 373911d commit d8f1733

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pandas/tests/io/parser/test_unsupported.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,8 @@ def test_pyarrow_engine(self):
155155
kwargs[default] = "warn"
156156

157157
warn = None
158-
depr_msg = None
158+
depr_msg = "The 'delim_whitespace' keyword in pd.read_csv is deprecated"
159159
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"
164160
warn = FutureWarning
165161

166162
with pytest.raises(ValueError, match=msg):

0 commit comments

Comments
 (0)