Skip to content

Commit

Permalink
Delete freq='Y' invalidness test.
Browse files Browse the repository at this point in the history
Y is now a valid freq.
  • Loading branch information
Iva Miholic committed Jul 16, 2017
1 parent c295202 commit d5895d9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pandas/tests/tseries/test_frequencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,12 +810,6 @@ def test_series(self):
for freq in [None, 'L']:
s = Series(period_range('2013', periods=10, freq=freq))
pytest.raises(TypeError, lambda: frequencies.infer_freq(s))
for freq in ['Y']:

msg = frequencies._INVALID_FREQ_ERROR
with tm.assert_raises_regex(ValueError, msg):
s = Series(period_range('2013', periods=10, freq=freq))
pytest.raises(TypeError, lambda: frequencies.infer_freq(s))

# DateTimeIndex
for freq in ['M', 'L', 'S']:
Expand Down

0 comments on commit d5895d9

Please sign in to comment.