We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d833baa commit 4460d8fCopy full SHA for 4460d8f
pandas/tests/tseries/test_frequencies.py
@@ -810,12 +810,6 @@ def test_series(self):
810
for freq in [None, 'L']:
811
s = Series(period_range('2013', periods=10, freq=freq))
812
pytest.raises(TypeError, lambda: frequencies.infer_freq(s))
813
- for freq in ['Y']:
814
-
815
- msg = frequencies._INVALID_FREQ_ERROR
816
- with tm.assert_raises_regex(ValueError, msg):
817
- s = Series(period_range('2013', periods=10, freq=freq))
818
- pytest.raises(TypeError, lambda: frequencies.infer_freq(s))
819
820
# DateTimeIndex
821
for freq in ['M', 'L', 'S']:
0 commit comments