def initialization_exception_test(self):
        for valuesToForecast in xrange(-10,0):
            try:
                BaseForecastingMethod(valuesToForecast=valuesToForecast)
            except ValueError:
                pass
            else:
                assert False    # pragma: no cover
Test BaseForecastingMethod initialization for ValueError.
dataset/ETHPy150Open T-002/pycast/pycast/tests/methodtest.py/BaseForecastingMethodTest.initialization_exception_test