def METHOD_NAME(self):
    Af = np.array([1., 2.])
    self.assertEqual(numpy_compare.resolve_type(Af), float)
    Ac = np.array([Custom("a"), Custom("b")])
    self.assertEqual(numpy_compare.resolve_type(Ac), Custom)
    with self.assertRaises(AssertionError):
        numpy_compare.resolve_type([])
    with self.assertRaises(AssertionError):
        numpy_compare.resolve_type(["a", 1., None])