]> granicus.if.org Git - python/commit
bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13616)
authorXtreak <tir.karthi@gmail.com>
Wed, 29 May 2019 07:02:26 +0000 (12:32 +0530)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 29 May 2019 07:02:25 +0000 (00:02 -0700)
commit0ae022c6a47abffce22ec185552e319b7b93dbf4
treeee57f6cae38d05d301422448561ba679fa033390
parent744c08a9c75a1a53b7a6521fcee3e7c513919ff9
bpo-37075: Fix string concatenation in assert_has_awaits error message (GH-13616)

* Fix the implicit string concatenation in `assert_has_awaits` error message.
* Use "await" instead of "call" in `assert_awaited_with` error message.

https://bugs.python.org/issue37075
Doc/library/unittest.mock.rst
Lib/unittest/mock.py
Lib/unittest/test/testmock/testasync.py