def test_mk_func_literal(self):
        """make sure make_function is passed to typer class as a literal
        """
        test_ir = compiler.run_frontend(mk_func_test_impl)
        typingctx = cpu_target.typing_context
        targetctx = cpu_target.target_context
        typingctx.refresh()
        targetctx.refresh()
        typing_res = type_inference_stage(typingctx, targetctx, test_ir, (),
                                          None)
        self.assertTrue(
            any(
                isinstance(a, types.MakeFunctionLiteral)
                for a in typing_res.typemap.values()
            )
        )
make sure make_function is passed to typer class as a literal
        
numba/tests/test_extending.py