Skip to content

Commit e629f3a

Browse files
committed
temporarily enable problematic test
1 parent 92f13df commit e629f3a

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

python/pyarrow/tests/test_compute.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2371,12 +2371,13 @@ def _compare_strftime_strings_on_windows(result, expected):
23712371

23722372
ends_with_offset = pc.match_substring_regex(result, p)
23732373
all_end_with_offset = pc.all(ends_with_offset, skip_nulls=True).as_py()
2374-
assert all_end_with_offset, "All timezone values should be GMT offset format or UTC" \
2375-
f"\nActual: {result}"
2374+
assert all_end_with_offset, "All timezone values should be GMT offset format "\
2375+
f"or UTC \nActual: {result}"
23762376

23772377
result_substring = pc.replace_substring_regex(result, pattern=p, replacement="")
2378-
assert expected.starts_with(
2379-
result_substring), f"Expected: {expected}, \nActual: {result} \n Note: tz suffix is not being compared"
2378+
assert expected.starts_with(result_substring), \
2379+
f"Expected: {expected}, \nActual: {result} " \
2380+
"\nNote: tz suffix is not being compared"
23802381

23812382

23822383
@pytest.mark.pandas
@@ -2794,10 +2795,10 @@ def _check_temporal_rounding(ts, values, unit):
27942795
np.testing.assert_array_equal(result, expected)
27952796

27962797

2797-
# TODO(GH-48743): Re-enable when Windows timezone issues are resolved
2798-
# https://github.com/apache/arrow/issues/48743
2799-
@pytest.mark.skipif(sys.platform == "win32",
2800-
reason="Skipping temporal rounding tests on Windows")
2798+
# # TODO(GH-48743): Re-enable once GCC/Windows timezone issues are resolved
2799+
# # https://github.com/apache/arrow/issues/48743
2800+
# @pytest.mark.skipif(sys.platform == "win32",
2801+
# reason="Skipping temporal rounding tests on GCC/Windows")
28012802
@pytest.mark.timezone_data
28022803
@pytest.mark.parametrize('unit', ("nanosecond", "microsecond", "millisecond",
28032804
"second", "minute", "hour", "day"))

0 commit comments

Comments
 (0)