Chris Jerdonek added the comment: What about patch_object()? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue11664> _______________________________________