def season_length_test(self):
        """Test that the season length has to be greater than 0."""
        for seasonLength in xrange(-4, 1):
            try:
                HoltWintersMethod(seasonLength=seasonLength)
            except __HOLE__:
                pass
            else:
                assert False    # pragma: no cover

        for seasonLength in xrange(1,12414, 412):
            HoltWintersMethod(seasonLength=seasonLength)
dataset/ETHPy150Open T-002/pycast/pycast/tests/methodtest.py/HoltWintersMethodTest.season_length_test