def METHOD_NAME():
    o = object()
    def get_dict_attr():
        return o.__dict__
    def set_dict_attr():
        o.__dict__ = {'a': 10}
    assert_raises(AttributeError, get_dict_attr)
    assert_raises(AttributeError, set_dict_attr)