def test_error_with_zero_monthends(self): self.assertRaises(ValueError, date_range, '1/1/2000', '1/1/2001', freq=datetools.MonthEnd(0))
def test_error_with_zero_monthends(self): self.assertRaises(ValueError, DateRange, '1/1/2000', '1/1/2001', offset=datetools.MonthEnd(0))