def METHOD_NAME(self):
    """Test that calls to numpy functions are inferred as numpy.ndarray."""
    for infer_wrapper in (
        self._inferred_numpy_func_call,
        self._inferred_numpy_no_alias_func_call,
    ):
        for func_ in self.numpy_functions_returning_array:
            with self.subTest(typ=func_):
                inferred_values = list(infer_wrapper(*func_))
                self.assertTrue(
                    len(inferred_values) == 1,
                    msg="Too much inferred values ({}) for {:s}".format(
                        inferred_values, func_[0]
                    ),
                )
                self.assertTrue(
                    inferred_values[-1].pytype() == ".ndarray",
                    msg="Illicit type for {:s} ({})".format(
                        func_[0], inferred_values[-1].pytype()
                    ),
                )