MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_date2num_dst_pandas

Function test_date2num_dst_pandas

lib/matplotlib/tests/test_dates.py:1056–1063  ·  view source on GitHub ↗
(pd)

Source from the content-addressed store, hash-verified

1054
1055
1056def test_date2num_dst_pandas(pd):
1057 # Test for github issue #3896, but in date2num around DST transitions
1058 # with a timezone-aware pandas date_range object.
1059
1060 def tz_convert(*args):
1061 return pd.DatetimeIndex.tz_convert(*args).astype(object)
1062
1063 _test_date2num_dst(pd.date_range, tz_convert)
1064
1065
1066def _test_rrulewrapper(attach_tz, get_tz):

Callers

nothing calls this directly

Calls 1

_test_date2num_dstFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…