We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8d29d9 commit f5b6d14Copy full SHA for f5b6d14
pandas/tests/indexes/datetimes/methods/test_to_period.py
@@ -116,13 +116,12 @@ def test_to_period_infer(self):
116
117
tm.assert_index_equal(pi1, pi2)
118
119
- @pytest.mark.filterwarnings(r"ignore:PeriodDtype\[B\] is deprecated:FutureWarning")
120
def test_period_dt64_round_trip(self):
121
- dti = date_range("1/1/2000", "1/7/2002", freq="B")
+ dti = date_range("1/1/2000", "1/7/2002", freq="D")
122
pi = dti.to_period()
123
tm.assert_index_equal(pi.to_timestamp(), dti)
124
125
126
pi = dti.to_period(freq="h")
127
128
0 commit comments