AlenkaF commented on code in PR #39272:
URL: https://github.com/apache/arrow/pull/39272#discussion_r1430179736
##########
python/pyarrow/tests/test_types.py:
##########
@@ -487,6 +487,17 @@ def test_timestamp():
pa.timestamp(invalid_unit)
+def test_timestamp_print():
+ for unit in ('s', 'ms', 'us', 'ns'):
+ for tz in ('UTC', 'Europe/Paris', 'Pacific/Marquesas',
+ 'Mars/Mariner_Valley', '-00:42', '+42:00'):
+ ty = pa.timestamp(unit, tz=tz)
+ arr = pa.array([0], ty)
+ assert "Z" in str(arr)
+ arr = pa.array([0])
Review Comment:
Oh, thanks for catching that!
--
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]