Vajrasky Kok added the comment: Michael, attached the patch to accommodate your request. Yeah, I think this is the best way because I have seen no possible solutions to make both tests work without altering them.
Xavier, that's cool. I didn't know such tool exists. Usually I found the duplicate function/method by using flake plugin in Vim. ---------- Added file: http://bugs.python.org/file31754/fix_overshadowed_test_in_testmock.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18993> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com