def test_using_imprecise_list(self):
        """
        Type inference should report informative error about untyped list.
        TODO: #2931
        """
        with self.assertRaises(TypingError) as raises:
            njit((),)(using_imprecise_list)

        errmsg = str(raises.exception)
        self.assertIn("Undecided type", errmsg)

        Type inference should report informative error about untyped list.
        TODO: #2931
        
numba/tests/test_typingerror.py