New submission from Nathaniel Duarte <slackn...@gmail.com>: It is possible to make a call with a Mock object, for example, where a dictionary is passed to the mock and later modified. If a call assertion is then made against the mock using the initial value/contents of the dictionary the assertion will fail.
---------- components: Library (Lib) files: mock_issue.py messages: 315456 nosy: slacknate priority: normal severity: normal status: open title: Unittest Mock objects do not freeze arguments they are called with type: behavior versions: Python 3.7 Added file: https://bugs.python.org/file47539/mock_issue.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33309> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com