human
I wrote the below code

    class XStackTester(_HVStackTester, ):
        op_class = op
        def expected_f(self, a, format=None, dtype=None):
            return expected_function(a, format, dtype)
    XStackTester.__name__ = (op.__name__ + 'Tester')
    if hasattr(XStackTester, '__qualname__'):
        XStackTester.__qualname__ = XStackTester.__name__
    return XStackTester

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def _hv_switch(op, expected_function):