Robert Collins added the comment: Thanks Yolanda, that looks sane - could you perhaps add a test for this in Lib/unittest/tests/test_mock/ ? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue26807> _______________________________________