sih4sing5hong5 added the comment: I moved the import urlopen inside the patch. The mock worked.
Thank you for explanations. I understand now. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24855> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com