def outer21(x):
            """ Test calling numpy import as in closure """
            z = x + 1

            def inner(x):
                return x + np.cos(z)
            return inner(x)
 Test calling numpy import as in closure 
numba/tests/test_closure.py