

def local_error_test(self):
    'Test local_error of BaseErrorMeasure.'
    data = [[0.0, 0.0], [1, 0.1], [2, 0.2], [3, 0.3], [4, 0.4]]
    tsOrg = TimeSeries.from_twodim_list(data)
    tsCalc = TimeSeries.from_twodim_list(data)
    bem = BaseErrorMeasure()
    for idx in xrange(len(tsOrg)):
        try:
            self.local_error([tsOrg[idx][1]], [tsCalc[idx][1]])
        except NotImplementedError:
            pass
        else:
            assert False

dataset/ETHPy150Open T-002/pycast/pycast/tests/errormeasuretest.py BaseErrorMeasureTest.local_error_test/VarMisuse@87/122 `bem`->`self`