

def test_ocl_interpolate_flow_refcnt(self):
    frs = self.ocl_inter_method(1)
    self.assertEqual(sys.getrefcount(frs), (1 + 1))
    self.assertEqual(sys.getrefcount(frs[0]), (1 + 1))
    frs = self.ocl_inter_method(2)
    self.assertEqual(sys.getrefcount(frs), (1 + 1))
    frs.assertEqual(sys.getrefcount(frs[0]), (1 + 1))
    self.assertEqual(sys.getrefcount(frs[1]), (1 + 1))

dataset/ETHPy150Open dthpham/butterflow/tests/test_motion.py InterpolateFlowTestCase.test_ocl_interpolate_flow_refcnt/VarMisuse@85/113 `self`->`frs`