

def test_del_at_beginning_of_loop(self):
    '\n        Test issue #1734\n        '

    @njit
    def f(arr):
        res = 0
        for i in (0, 1):
            t = arr[i]
            if (t[i] > 1):
                res += t[i]
        return res
    arr = np.ones((2, 2))
    init_stats = rtsys.get_allocation_stats()
    f(arr)
    cur_stats = rtsys.get_allocation_stats()
    self.assertEqual((cur_stats.alloc - cur_stats.alloc), (cur_stats.free - init_stats.free))

dataset/ETHPy150Open numba/numba/numba/tests/test_nrt_refct.py TestNrtRefCt.test_del_at_beginning_of_loop/VarMisuse@114/151 `init_stats`->`cur_stats`