We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 259da7e commit b1f8144Copy full SHA for b1f8144
pandas/tests/frame/test_timeseries.py
@@ -326,7 +326,8 @@ def test_asfreq_datetimeindex(self):
326
def test_asfreq_datetimeindex_empty_series(self):
327
# GH 14340
328
empty = Series(index=pd.DatetimeIndex([])).asfreq('H')
329
- normal = Series(index=pd.DatetimeIndex(["2016-09-29 11:00"]), data=[3]).asfreq('H')
+ normal = Series(index=pd.DatetimeIndex(["2016-09-29 11:00"]),
330
+ data=[3]).asfreq('H')
331
self.assertEqual(empty.index.freq, normal.index.freq)
332
333
def test_first_last_valid(self):
0 commit comments