Skip to content

Commit

Permalink
sort out xfail
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Oct 7, 2024
1 parent ccc00ee commit a52e2ee
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/expr_and_series/convert_time_zone_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
from datetime import timezone
from typing import Any

import pyarrow as pa
import pytest

import narwhals.stable.v1 as nw
from narwhals.utils import parse_version
from tests.utils import Constructor
from tests.utils import compare_dicts
from tests.utils import is_windows
Expand All @@ -15,9 +13,7 @@
def test_convert_time_zone(
constructor: Constructor, request: pytest.FixtureRequest
) -> None:
if is_windows() or (
"pyarrow" in str(constructor) and parse_version(pa.__version__) < (12, 0)
):
if is_windows():
request.applymarker(pytest.mark.xfail)
data = {
"a": [
Expand All @@ -38,9 +34,7 @@ def test_convert_time_zone(
def test_convert_time_zone_series(
constructor_eager: Any, request: pytest.FixtureRequest
) -> None:
if is_windows() or (
"pyarrow" in str(constructor_eager) and parse_version(pa.__version__) < (12, 0)
):
if is_windows():
request.applymarker(pytest.mark.xfail)
data = {
"a": [
Expand Down

0 comments on commit a52e2ee

Please sign in to comment.