Robert Collins added the comment: This is a regression in 3.5 vs 3.3 I think. It would have worked with the initial mock import.
https://github.com/testing-cabal/mock/issues/280 Minimal reproducer case attached (With commentted out bits to switch out the mock for the rolling backport etc). ---------- nosy: +rbcollins Added file: http://bugs.python.org/file39926/mock-280.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21750> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com