def initialization_exception_Test(self):
        """Test the exeptions of SimpleMovingAverage's __init__."""
        for invalidWindowSize in xrange(-5, 1):
            try:
                SimpleMovingAverage(invalidWindowSize)
            except ValueError:
                pass
            else:
                assert False    # pragma: no cover

        for invalidWindowSize in xrange(2, 10, 2):
            try:
                SimpleMovingAverage(invalidWindowSize)
            except __HOLE__:
                pass
            else:
                assert False    # pragma: no cover
dataset/ETHPy150Open T-002/pycast/pycast/tests/methodtest.py/SimpleMovingAverageTest.initialization_exception_Test