Skip to content

Commit b9da54f

Browse files
committed
Reduce data sizes in test_period_index
1 parent 3845800 commit b9da54f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/resample/test_period_index.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_selection(self, freq, kwargs):
130130
def test_annual_upsample_cases(
131131
self, offset, period, conv, meth, month, simple_period_range_series
132132
):
133-
ts = simple_period_range_series("1/1/1990", "12/31/1991", freq=f"Y-{month}")
133+
ts = simple_period_range_series("1/1/1990", "12/31/1990", freq=f"Y-{month}")
134134
warn = FutureWarning if period == "B" else None
135135
msg = r"PeriodDtype\[B\] is deprecated"
136136
with tm.assert_produces_warning(warn, match=msg):
@@ -214,7 +214,7 @@ def test_quarterly_upsample(
214214
self, month, offset, period, convention, simple_period_range_series
215215
):
216216
freq = f"Q-{month}"
217-
ts = simple_period_range_series("1/1/1990", "12/31/1995", freq=freq)
217+
ts = simple_period_range_series("1/1/1990", "12/31/1991", freq=freq)
218218
warn = FutureWarning if period == "B" else None
219219
msg = r"PeriodDtype\[B\] is deprecated"
220220
with tm.assert_produces_warning(warn, match=msg):

0 commit comments

Comments
 (0)