(self, offset_types, expecteds)
| 308 | assert result == expected_localize |
| 309 | |
| 310 | def test_apply(self, offset_types, expecteds): |
| 311 | sdt = datetime(2011, 1, 1, 9, 0) |
| 312 | ndt = np.datetime64("2011-01-01 09:00") |
| 313 | |
| 314 | expected = expecteds[offset_types.__name__] |
| 315 | expected_norm = Timestamp(expected.date()) |
| 316 | |
| 317 | for dt in [sdt, ndt]: |
| 318 | self._check_offsetfunc_works(offset_types, "_apply", dt, expected) |
| 319 | |
| 320 | self._check_offsetfunc_works( |
| 321 | offset_types, "_apply", dt, expected_norm, normalize=True |
| 322 | ) |
| 323 | |
| 324 | def test_rollforward(self, offset_types, expecteds): |
| 325 | expecteds = expecteds.copy() |
nothing calls this directly
no test coverage detected