def METHOD_NAME(self):
    """Test that functions have FunctionDef type."""
    for func in self.all_ufunc:
        with self.subTest(func=func):
            inferred = self._inferred_numpy_attribute(func)
            self.assertIsInstance(inferred, bases.Instance)