Skip to content

Commit 63e59e6

Browse files
committed
fix python test
1 parent c469a82 commit 63e59e6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

python/pyarrow/tests/test_compute.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@ def test_strftime():
23912391
result, "^GMT[+-][0-9]+$"), pc.is_null(result))
23922392
assert not pc.any(pc.invert(is_valid)).as_py(), \
23932393
"All timezone values should be GMT offset format (e.g. GMT+1)" \
2394-
f"Actual: {result}"
2394+
f"\nActual: {result}"
23952395
else:
23962396
assert result.equals(expected)
23972397

@@ -2412,10 +2412,10 @@ def test_strftime():
24122412
# instead of timezone abbreviations (e.g. "CET")
24132413
# https://github.com/apache/arrow/issues/48767
24142414
is_valid = pc.or_kleene(pc.match_substring_regex(
2415-
result, "^GMT[+-][0-9]+$"), pc.is_null(result))
2415+
result, "GMT[+-][0-9]+$"), pc.is_null(result))
24162416
assert not pc.any(pc.invert(is_valid)).as_py(), \
24172417
"All timezone values should be GMT offset format (e.g. GMT+1)" \
2418-
f"Actual: {result}"
2418+
f"\nActual: {result}"
24192419
else:
24202420
assert result.equals(expected)
24212421

0 commit comments

Comments
 (0)