1781
1781
:returns: The actual attr value.
1784
1783
# The actual value is captured by the call below
1785
self.addCleanup(setattr, obj, attr_name, value)
1791
self.addCleanup(setattr, obj, attr_name, value)
1786
1792
if new is not _unitialized_attr:
1787
1793
setattr(obj, attr_name, new)