jorisvandenbossche commented on a change in pull request #11574:
URL: https://github.com/apache/arrow/pull/11574#discussion_r739106587
##########
File path: python/pyarrow/tests/test_scalars.py
##########
@@ -323,6 +323,9 @@ def test_timestamp_no_overflow():
s = pa.scalar(ts, type=pa.timestamp("us", tz="UTC"))
assert s.as_py() == ts
+def test_timestamp_print():
+ arr = pa.array([0], pa.timestamp('s', tz='+02:00'))
+ assert str(arr[0]) == "1970-01-01 02:00:00+02:00"
Review comment:
The linter requires two blank lines between functions (I think that's
the reason it is failing)
--
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]