bpo-31174: Improve the code of test_tools.test_unparse. by serhiy-storchaka · Pull Request #4146 · python/cpython
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 34.4k
Merged
serhiy-storchaka merged 1 commit intopython:masterfrom
Oct 27, 2017Merged
bpo-31174: Improve the code of test_tools.test_unparse.#4146
serhiy-storchaka merged 1 commit intopython:masterfrom
bpo-31174: Improve the code of test_tools.test_unparse.#4146
serhiy-storchaka merged 1 commit intopython:masterfrom
Conversation
Copy link Copy Markdown
Member
If get_names() is an instance method, it shouldn't cache its result statically. It should be a static method, but a class method works as well.
serhiy-storchaka
added
needs backport to 3.6
skip news
tests
labels
Oct 27, 2017
the-knights-who-say-ni
added
the
CLA signed
label
bedevere-bot
added
the
awaiting merge
label
vstinner approved these changes Oct 27, 2017
Copy link Copy Markdown
Member
vstinner
left a comment
vstinner
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
serhiy-storchaka
merged commit
7351f9e
into
python:master
Copy link Copy Markdown
Contributor
miss-islington
commented
Oct 27, 2017
miss-islington commented
Oct 27, 2017Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖
bedevere-bot
removed
the
awaiting merge
label
serhiy-storchaka
deleted the
test_unparse-get_names
branch
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Oct 27, 2017(cherry picked from commit 7351f9e)
Copy link Copy Markdown
bedevere-bot
commented
Oct 27, 2017
bedevere-bot commented
Oct 27, 2017GH-4148 is a backport of this pull request to the 3.6 branch.
bedevere-bot
removed
the
needs backport to 3.6
label
serhiy-storchaka pushed a commit that referenced this pull request
Oct 27, 2017This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment