summaryrefslogtreecommitdiffstats
path: root/Lib/email/_header_value_parser.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-29 06:57:37 (GMT)
committerChris Withers <chris@withers.org>2019-08-29 06:57:37 (GMT)
commitbe310e03d0b84ef56e9d35b0b1b21d685b7ea371 (patch)
tree3726190b63e8f3f3901c86c60e525d8c640357fb /Lib/email/_header_value_parser.py
parent409493d0acdb8dec55868bb5c6af427ce31ff555 (diff)
downloadcpython-be310e03d0b84ef56e9d35b0b1b21d685b7ea371.zip
cpython-be310e03d0b84ef56e9d35b0b1b21d685b7ea371.tar.gz
cpython-be310e03d0b84ef56e9d35b0b1b21d685b7ea371.tar.bz2
bpo-36871: Ensure method signature is used when asserting mock calls to a method (GH15577)
* Fix call_matcher for mock when using methods * Add NEWS entry * Use None check and convert doctest to unittest * Use better name for mock in tests. Handle _SpecState when the attribute was not accessed and add tests. * Use reset_mock instead of reinitialization. Change inner class constructor signature for check * Reword comment regarding call object lookup logic (cherry picked from commit c96127821ebda50760e788b1213975a0d5bea37f) Co-authored-by: Xtreak <tir.karthi@gmail.com>
Diffstat (limited to 'Lib/email/_header_value_parser.py')
0 files changed, 0 insertions, 0 deletions