

def get_error_initialization_test(self):
    'Test the get_error of BaseErrorMeasure for the initialization exception.'
    bem = BaseErrorMeasure()
    try:
        bem.get_error()
    except StandardError:
        pass
    else:
        assert False

dataset/ETHPy150Open T-002/pycast/pycast/tests/errormeasuretest.py BaseErrorMeasureTest.get_error_initialization_test/original