def METHOD_NAME():
    lst = list()
    def set_attr():
        lst.a = 10
    assert_raises(AttributeError, set_attr)
    class MyList(list):
        pass
    mlst = MyList()
    mlst.a = 10
    assert mlst.a == 10