commit | 47d94241a383e2b8a2c40e81d12d40d5947fb170 | [log] [tgz] |
---|---|---|
author | Petter Strandmark <petter.strandmark@gmail.com> | Sun Oct 28 21:37:10 2018 +0100 |
committer | Victor Stinner <vstinner@redhat.com> | Sun Oct 28 21:37:10 2018 +0100 |
tree | b4c6d167ab2652014eb99815eb870d640341a82f | |
parent | 18032632ab27eed51d705c2be7b64bac708279bf [diff] |
bpo-35047, unittest.mock: Better error messages on assert_called_xxx failures (GH-10090) unittest.mock now includes mock calls in exception messages if assert_not_called, assert_called_once, or assert_called_once_with fails.