…pythonGH-16166) In the format string for assert_called the evaluation order is incorrect and hence for mock's without name, 'None' is printed whereas it should be 'mock' like for other messages. The error message is ("Expected '%s' to have been called." % self._mock_name or 'mock'). (cherry picked from commit 5f5f11f) Co-authored-by: Abraham Toriz Cruz <awonderfulcode@gmail.com>
|
@categulario and @pablogsal: Status check is done, and it's a success ✅ . |
|
@categulario and @pablogsal: Status check is done, and it's a success ✅ . |
|
@categulario and @pablogsal: Status check is done, and it's a success ✅ . |
In the format string for assert_called the evaluation order is incorrect and hence for mock's without name, 'None' is printed whereas it should be 'mock' like for other messages. The error message is ("Expected '%s' to have been called." % self._mock_name or 'mock').
(cherry picked from commit 5f5f11f)
Co-authored-by: Abraham Toriz Cruz awonderfulcode@gmail.com
https://bugs.python.org/issue37828