Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_timestamp_fixed_offset_print
Function
test_timestamp_fixed_offset_print
python/pyarrow/tests/test_scalars.py:481–485 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
479
480
481
def
test_timestamp_fixed_offset_print():
482
# ARROW-13896
483
pytest.importorskip(
"pytz"
)
484
arr = pa.array([0], pa.timestamp(
's'
, tz=
'+02:00'
))
485
assert str(arr[0]) ==
"1970-01-01 02:00:00+02:00"
486
487
488
@pytest.mark.numpy
Callers
nothing calls this directly
Calls
1
array
Method · 0.45
Tested by
no test coverage detected