def METHOD_NAME(self):
    # gh-2561
    # Test if the oldstyle class test is bypassed in python3
    class C():
        """Old-style class in python2, normal class in python3"""
        pass
    out = open(os.devnull, 'w')
    try:
        np.info(C(), output=out)
    except AttributeError:
        raise AssertionError()
    finally:
        out.close()