From dda12cc54ebe4529c5ae17701be21df8b9808b85 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Wed, 6 Dec 2023 11:29:47 +0100 Subject: [PATCH] update expected warning in new tests --- pandas/tests/io/test_sql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py index e20c49c072515..e3272e5f5902d 100644 --- a/pandas/tests/io/test_sql.py +++ b/pandas/tests/io/test_sql.py @@ -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 @@ -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: