Skip to content

[3.7] bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (GH-10873) #10887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2018

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 4, 2018

Fix minor typo in test function name.
(cherry picked from commit e63e617)

Co-authored-by: Andrew Dunai [email protected]

https://bugs.python.org/issue35357

…Call/_MagicProxy. (pythonGH-10873)

Fix minor typo in test function name.
(cherry picked from commit e63e617)

Co-authored-by: Andrew Dunai <[email protected]>
@miss-islington
Copy link
Contributor Author

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

1 similar comment
@miss-islington
Copy link
Contributor Author

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

@cjw296 cjw296 merged commit 12735c1 into python:3.7 Dec 4, 2018
@bedevere-bot
Copy link

@cjw296: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington miss-islington deleted the backport-e63e617-3.7 branch December 4, 2018 09:34
dsalisbury added a commit to dsalisbury/testfixtures that referenced this pull request Jan 2, 2019
In python 3.6.8, 3.7.2, and in python-next, some attributes on the
unittest.mock.call object were renamed from things like `name` and
`parent` to `_mock_name` and `_mock_parent`.

resolves simplistix#102

Python bug:

* bpo-35357 (https://bugs.python.org/issue35357)

pull requests which added this change:

* python/cpython#10873
* python/cpython#10887
* python/cpython#10888
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