File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -2320,9 +2320,15 @@ def test_api_escaped_table_name(conn, request):
2320
2320
def test_api_read_sql_duplicate_columns (conn , request ):
2321
2321
# GH#53117
2322
2322
if "adbc" in conn :
2323
- request .node .add_marker (
2324
- pytest .mark .xfail (reason = "pyarrow->pandas throws ValueError" , strict = True )
2325
- )
2323
+ pa = pytest .importorskip ("pyarrow" )
2324
+ if not (
2325
+ 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
+ )
2326
2332
conn = request .getfixturevalue (conn )
2327
2333
if sql .has_table ("test_table" , conn ):
2328
2334
with sql .SQLDatabase (conn , need_transaction = True ) as pandasSQL :
You can’t perform that action at this time.
0 commit comments