def test_return_type_warning_with_nrt(self):
        y = np.ones(4, dtype=np.float32)

        def return_external_array():
            return y

        with warnings.catch_warnings(record=True) as w:
            warnings.simplefilter('always', NumbaWarning)

            cfunc = jit(return_external_array)
            cfunc()
            # No more warning
            self.assertEqual(len(w), 0)
doc
dataset/ETHPy150Open numba/numba/numba/tests/test_warnings.py/TestBuiltins.test_return_type_warning_with_nrt--crossover with--dataset/ETHPy150Open columbia/libtrack/libtrack/parser/src/telesphorus/helpers/dict_utils.py/merge