def METHOD_NAME(self, s1: Series) -> None:
    for op in UFUNC_UNARY_OPERATORS:
        if op == '__invert__': # invalid on non Boolean
            continue
        func = getattr(operator, op)
        with WarningsSilent():
            a = func(s1).values
            b = func(s1.values)
            self.assertAlmostEqualArray(a, b)