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 @@ -2300,9 +2300,15 @@ def test_api_escaped_table_name(conn, request):
2300
2300
def test_api_read_sql_duplicate_columns (conn , request ):
2301
2301
# GH#53117
2302
2302
if "adbc" in conn :
2303
- request .node .add_marker (
2304
- pytest .mark .xfail (reason = "pyarrow->pandas throws ValueError" , strict = True )
2305
- )
2303
+ pa = pytest .importorskip ("pyarrow" )
2304
+ if not (
2305
+ Version (pa .__version__ ) >= Version ("16.0" ) and conn == "sqlite_adbc_conn"
2306
+ ):
2307
+ request .node .add_marker (
2308
+ pytest .mark .xfail (
2309
+ reason = "pyarrow->pandas throws ValueError" , strict = True
2310
+ )
2311
+ )
2306
2312
conn = request .getfixturevalue (conn )
2307
2313
if sql .has_table ("test_table" , conn ):
2308
2314
with sql .SQLDatabase (conn , need_transaction = True ) as pandasSQL :
You can’t perform that action at this time.
0 commit comments