1728
1728
def overrideAttr(self, obj, attr_name, new=_unitialized_attr):
1729
1729
"""Overrides an object attribute restoring it after the test.
1731
1734
:param obj: The object that will be mutated.
1733
1736
:param attr_name: The attribute name we want to preserve/override in