MCPcopy Create free account
hub / github.com/apache/arrow / test_datetime_timezone_tzinfo

Function test_datetime_timezone_tzinfo

python/pyarrow/tests/parquet/test_datetime.py:80–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78
79@pytest.mark.pandas
80def test_datetime_timezone_tzinfo():
81 value = datetime.datetime(2018, 1, 1, 1, 23, 45,
82 tzinfo=datetime.timezone.utc)
83 df = pd.DataFrame({'foo': [value]})
84
85 _roundtrip_pandas_dataframe(df, write_kwargs={})
86
87
88@pytest.mark.pandas

Callers

nothing calls this directly

Calls 2

datetimeMethod · 0.80

Tested by

no test coverage detected