New submission from Сергей Варюхин: You can see example in test.py. It should fails with AssertionErorr if mock works as expected. But it not fails.
---------- components: Library (Lib) files: test.py messages: 279098 nosy: Сергей Варюхин priority: normal severity: normal status: open title: MagickMock created by patсh annotation refuses to apply function side_effect at second time type: behavior versions: Python 3.4 Added file: http://bugs.python.org/file45166/test.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28495> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com