We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5e362e commit 967e1c7Copy full SHA for 967e1c7
pandas/tests/io/test_sql.py
@@ -2320,9 +2320,15 @@ def test_api_escaped_table_name(conn, request):
2320
def test_api_read_sql_duplicate_columns(conn, request):
2321
# GH#53117
2322
if "adbc" in conn:
2323
- request.node.add_marker(
2324
- pytest.mark.xfail(reason="pyarrow->pandas throws ValueError", strict=True)
2325
- )
+ pa = pytest.importorskip("pyarrow")
+ if not (
+ Version(pa.__version__) >= Version("16.0") and conn == "sqlite_adbc_conn"
2326
+ ):
2327
+ request.node.add_marker(
2328
+ pytest.mark.xfail(
2329
+ reason="pyarrow->pandas throws ValueError", strict=True
2330
+ )
2331
2332
conn = request.getfixturevalue(conn)
2333
if sql.has_table("test_table", conn):
2334
with sql.SQLDatabase(conn, need_transaction=True) as pandasSQL:
0 commit comments