Skip to content

Commit

Permalink
update expected warning in new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Dec 6, 2023
1 parent a18f2c9 commit dda12cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/tests/io/test_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ def test_dataframe_to_sql_arrow_dtypes(conn, request):
if conn == "sqlite_adbc_conn":
df = df.drop(columns=["timedelta"])
if pa_version_under14p1:
exp_warning = FutureWarning
exp_warning = DeprecationWarning
msg = "is_sparse is deprecated"
else:
exp_warning = None
Expand Down Expand Up @@ -1885,7 +1885,7 @@ def test_api_timedelta(conn, request):

if "adbc" in conn_name:
if pa_version_under14p1:
exp_warning = FutureWarning
exp_warning = DeprecationWarning
else:
exp_warning = None
else:
Expand Down

0 comments on commit dda12cc

Please sign in to comment.