]> granicus.if.org Git - python/commit
bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361)
authorSamuel Freilich <sfreilich@google.com>
Tue, 24 Sep 2019 22:04:29 +0000 (18:04 -0400)
committerGregory P. Smith <greg@krypto.org>
Tue, 24 Sep 2019 22:04:29 +0000 (15:04 -0700)
commit2180f6b058effbf49ec819f7cedbe76ddd4b700c
tree1f2962f22d5d1cfb38da125e8e3ec2bd200c5ac1
parentb5a7a4f0c20717a4c92c371583b5521b83f40f32
bpo-36871: Avoid duplicated 'Actual:' in assertion message (GH-16361)

Fixes an issue caught after merge of PR 16005.

Tightened test assertions to check the entire assertion message.
Lib/unittest/mock.py
Lib/unittest/test/testmock/testasync.py
Lib/unittest/test/testmock/testmock.py