def recursive__call__():
    if verbose: print ("Testing recursive __call__() by setting to instance of "
                        "class ...")
    class A(object):
        pass

    A.__call__ = A()
    try:
        A()()
    except __HOLE__:
        pass
    else:
        raise TestFailed("Recursion limit should have been reached for "
                         "__call__()")
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_descr.py/recursive__call__