(temp_hdfstore)
| 299 | |
| 300 | |
| 301 | def test_dst_transitions(temp_hdfstore): |
| 302 | # make sure we are not failing on transitions |
| 303 | times = date_range( |
| 304 | "2013-10-26 23:00", |
| 305 | "2013-10-27 01:00", |
| 306 | tz="Europe/London", |
| 307 | freq="h", |
| 308 | ambiguous="infer", |
| 309 | ) |
| 310 | times = times._with_freq(None) # freq doesn't round-trip |
| 311 | |
| 312 | for i in [times, times + pd.Timedelta("10min")]: |
| 313 | df = DataFrame({"A": range(len(i)), "B": i}, index=i) |
| 314 | temp_hdfstore.append("df", df) |
| 315 | result = temp_hdfstore.select("df") |
| 316 | tm.assert_frame_equal(result, df) |
| 317 | temp_hdfstore.remove("df") |
| 318 | |
| 319 | |
| 320 | @pytest.mark.filterwarnings( |
nothing calls this directly
no test coverage detected