diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-12-09 06:59:23 (GMT) |
---|---|---|
committer | Chris Withers <chris@withers.org> | 2019-12-09 06:59:23 (GMT) |
commit | 41973c99fdfdc78315e819661e279bdcc2f058b1 (patch) | |
tree | 3207800340e78a77411ff53a141b5c85f62476c4 /Lib/test/test_dataclasses.py | |
parent | 9baa870c27b54c26f9dd292c26936b70bdb64a06 (diff) | |
download | cpython-41973c99fdfdc78315e819661e279bdcc2f058b1.zip cpython-41973c99fdfdc78315e819661e279bdcc2f058b1.tar.gz cpython-41973c99fdfdc78315e819661e279bdcc2f058b1.tar.bz2 |
bpo-38669: patch.object now raises a helpful error (GH17511)
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 'Lib/test/test_dataclasses.py')
0 files changed, 0 insertions, 0 deletions