diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-09 06:59:04 (GMT) |
---|---|---|
committer | Chris Withers <chris@withers.org> | 2019-12-09 06:59:04 (GMT) |
commit | 4594565b56e9c99d2d3fb7549041bbca5ecba8e2 (patch) | |
tree | 806c9f49efdb9456b8dacdc8a65ccd9801e56b10 /Python/sysmodule.c | |
parent | 184a3812b81e2f7d4bc6453bf7ceabe8ac590202 (diff) | |
download | cpython-4594565b56e9c99d2d3fb7549041bbca5ecba8e2.zip cpython-4594565b56e9c99d2d3fb7549041bbca5ecba8e2.tar.gz cpython-4594565b56e9c99d2d3fb7549041bbca5ecba8e2.tar.bz2 |
bpo-38669: patch.object now raises a helpful error (GH17510)
This means a clearer message is now shown when patch.object is called with two string arguments, rather than a class and a string argument.
(cherry picked from commit cd90a52983db34896a6335a572d55bdda274778f)
Co-authored-by: Elena Oat <oat.elena@gmail.com>
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions