def sanity_test(self):
        hwm = HoltWintersMethod(seasonLength = 2)
        data  = [[0.0, 152]]
        tsSrc = TimeSeries.from_twodim_list(data)
        try:
            tsSrc.apply(hwm)
        except ValueError:
            pass
        else:
            assert False, "HoltWinters should throw an Exception if applied to a Time Series shorter than the season length"    # pragma: no cover
Test a true condition of assertNotIsInstance.
dataset/ETHPy150Open T-002/pycast/pycast/tests/methodtest.py/HoltWintersMethodTest.sanity_test--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/trial/test/test_assertions.py/TestSynchronousAssertions.test_assertNotIsInstance