def METHOD_NAME(self):
    """Variant of test_issue4156_loop_vars_leak.
    Interleaves loops and allocations
    """
    @njit
    def udt(N):
        sum_vec = 0
        for n in range(N):
            vec = np.zeros(7)
            for n in range(N):
                z = np.zeros(7)
            sum_vec += vec[0] + z[0]
        return sum_vec
    got = udt(4)
    expect = udt.py_func(4)
    self.assertPreciseEqual(got, expect)