Skip to content

[3.8] bpo-38669: patch.object now raises a helpful error (GH17034)#17510

Merged
cjw296 merged 1 commit into
python:3.8from
miss-islington:backport-cd90a52-3.8
Dec 9, 2019
Merged

[3.8] bpo-38669: patch.object now raises a helpful error (GH17034)#17510
cjw296 merged 1 commit into
python:3.8from
miss-islington:backport-cd90a52-3.8

Conversation

@miss-islington

@miss-islington miss-islington commented Dec 8, 2019

Copy link
Copy Markdown
Contributor

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 cd90a52)

Co-authored-by: Elena Oat oat.elena@gmail.com

https://bugs.python.org/issue38669

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 cd90a52)

Co-authored-by: Elena Oat <oat.elena@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@elenaoat and @cjw296: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

@elenaoat and @cjw296: Status check is done, and it's a success ✅ .

@cjw296
cjw296 merged commit 4594565 into python:3.8 Dec 9, 2019
@miss-islington
miss-islington deleted the backport-cd90a52-3.8 branch December 9, 2019 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants