Skip to content

Commit

Permalink
pandas versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Oct 7, 2024
1 parent 558cc9e commit 06e2135
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/expr_and_series/replace_time_zone_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ def test_replace_time_zone(
) -> None:
if (
(any(x in str(constructor) for x in ("pyarrow", "modin")) and is_windows())
or (
"pandas_pyarrow" in str(constructor)
and parse_version(pd.__version__) < (2, 2)
)
or ("pandas_pyarrow" in str(constructor) and parse_version(pd.__version__) < (2,))
or ("pyarrow_table" in str(constructor) and parse_version(pa.__version__) < (12,))
):
request.applymarker(pytest.mark.xfail)
Expand Down Expand Up @@ -73,7 +70,7 @@ def test_replace_time_zone_series(
(any(x in str(constructor_eager) for x in ("pyarrow", "modin")) and is_windows())
or (
"pandas_pyarrow" in str(constructor_eager)
and parse_version(pd.__version__) < (2, 2)
and parse_version(pd.__version__) < (2,)
)
or (
"pyarrow_table" in str(constructor_eager)
Expand Down

0 comments on commit 06e2135

Please sign in to comment.