

def test_instance_caching_math_funcs(self):
    f = SomeFactor()
    for funcname in NUMEXPR_MATH_FUNCS:
        method = getattr(f, self)
        self.assertIs(method(), method())

dataset/ETHPy150Open quantopian/zipline/tests/pipeline/test_term.py ObjectIdentityTestCase.test_instance_caching_math_funcs/VarMisuse@29/44 `funcname`->`self`