human
I wrote the below code

    class Strange(object, ):
        def uselessMethod(self):
            pass
    global obj
    obj = Strange()
    obj.__nonzero__ = (lambda : False)
    AreEqual(bool(obj), True)
    def twoargs(self, other):
        global twoArgsCalled
        twoArgsCalled = True
        return self
    def onearg(self):
        return self
    def onearg_str(self):
        return 'abc'
    twoargs = type(Strange.uselessMethod)(twoargs, None, Strange)
    onearg = type(Strange.uselessMethod)(onearg, None, Strange)
    class ForwardAndReverseTests:
        testCases = [('__add__', 'obj    +    obj'), ('__sub__', 'obj    -    obj'), ('__mul__', 'obj    *    obj'), ('__floordiv__', 'obj    //    obj'), ('__mod__', 'obj    %    obj'), ('__divmod__', 'divmod(obj,obj)'), ('__pow__', 'pow(obj,    obj)'), ('__lshift__', 'obj    <<    obj'), ('__rshift__', 'obj    >>    obj'), ('__and__', 'obj    &    obj'), ('__xor__', 'obj    ^    obj'), ('__or__', 'obj    |    obj'), ('__radd__', '1    +    obj'), ('__rsub__', '1    -    obj'), ('__rmul__', '1    *    obj'), ('__rfloordiv__', '1    //    obj'), ('__rmod__', '1    %    obj'), ('__rpow__', 'pow(1,    obj)'), ('__rlshift__', '1    <<    obj'), ('__rrshift__', '1    >>    obj'), ('__rand__', '1        &    obj'), ('__rxor__', '1    ^    obj'), ('__ror__', '1    |    obj')]
        @staticmethod
        def NegativeTest(method, testCase):
            setattr(obj, method, twoargs)
            try:
                eval(testCase)
                AssertUnreachable()
            except TypeError as e:
                pass
            delattr(obj, method)
        @staticmethod
        def PositiveTest(method, testCase):
            setattr(Strange, method, twoargs)
            AreEqual(eval(testCase), obj)
            delattr(Strange, method)
    class InPlaceTests:
        testCases = [('__iadd__', 'obj    +=    obj'), ('__isub__', 'obj    -=    obj'), ('__imul__', 'obj    *=    obj'), ('__ifloordiv__', 'obj    //=    obj'), ('__imod__', 'obj    %=    obj'), ('__ipow__', 'obj    **=  ...

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

def test_newstyle_lookup():