rok commented on code in PR #12657:
URL: https://github.com/apache/arrow/pull/12657#discussion_r874271777
##########
python/pyarrow/tests/test_compute.py:
##########
@@ -2085,6 +2085,18 @@ def _check_temporal_rounding(ts, values, unit):
expected = ts.dt.round(frequency)
np.testing.assert_array_equal(result, expected)
+ if ta.type.tz is None and unit != "day":
Review Comment:
I've made a mistake of overwriting the `frequency` parameter whenever unit
was `day`. Now his is only disabled for zoned times, which I think is as far we
can go with such naive logic.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]