def list6(x):
            """ Test use of inner function in list comprehension """
            def inner(x):
                return x + 1
            return [inner(z) for z in x]
 Test use of inner function in list comprehension 
numba/tests/test_comprehension.py