

def test_instance_non_caching_redefine_class(self):
    orig_foobar_instance = SomeFactorAlias()

    class SomeFactor(Factor):
        dtype = float64_dtype
        window_length = 5
        inputs = [SomeDataSet.foo, SomeDataSet.bar]
    self.assertIsNot(orig_foobar_instance, SomeFactor())

dataset/ETHPy150Open quantopian/zipline/tests/pipeline/test_term.py ObjectIdentityTestCase.test_instance_non_caching_redefine_class/original