def test_mutable_bases_catch_mro_conflict():
    if verbose:
        print "Testing mutable bases catch mro conflict..."
    class A(object):
        pass

    class B(object):
        pass

    class C(A, B):
        pass

    class D(A, B):
        pass

    class E(C, D):
        pass

    try:
        C.__bases__ = (B, A)
    except __HOLE__:
        pass
    else:
        raise TestFailed, "didn't catch MRO conflict"
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_descr.py/test_mutable_bases_catch_mro_conflict