def test_large_const_dict_noninline_controlflow(self):
        """
        Tests generating large constant dict when one of the
        inputs has the change suggested in the error message
        for inlined control flow.
        """
        def non_inline_func(a, flag):
            # D is a heterogeneous dictionary
            # so this code can only compile if
            # d has constant keys.
            val = 1 if flag else 2
            d = {
                "A": 1,
                "B": 1,
                "C": 1,
                "D": 1,
                "E": 1,
                "F": 1,
                "G": 1,
                "H": val,
                "I": 1,
                "J": 1,
                "K": 1,
                "L": 1,
                "M": 1,
                "N": 1,
                "O": 1,
                "P": 1,
                "Q": 1,
                "R": 1,
                "S": a,
            }
            return d["S"]

        py_func = non_inline_func
        cfunc = njit()(non_inline_func)
        value = "a_string"
        a = py_func(value, False)
        b = cfunc(value, False)
        self.assertEqual(a, b)

        Tests generating large constant dict when one of the
        inputs has the change suggested in the error message
        for inlined control flow.
        
numba/tests/test_interpreter.py