Skip to content

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

Merged
cjw296 merged 1 commit into
python:3.6from
miss-islington:backport-e63e617-3.6
Dec 4, 2018
Merged

[3.6] bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (GH-10873)#10888
cjw296 merged 1 commit into
python:3.6from
miss-islington:backport-e63e617-3.6

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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

Co-authored-by: Andrew Dunai andunai@gmail.com

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 <andunai@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

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

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

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

@cjw296 cjw296 merged commit 70ca3fc into python:3.6 Dec 4, 2018
@miss-islington miss-islington deleted the backport-e63e617-3.6 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