bpo-35767: Fix unittest.loader to allow partials as test_functions [3.7] by fried · Pull Request #11600 · python/cpython · GitHub
Skip to content

bpo-35767: Fix unittest.loader to allow partials as test_functions [3.7] - #11600

Merged
ambv merged 2 commits into
python:masterfrom
fried:bpo-35767
Jan 23, 2019
Merged

ambv merged 2 commits into
python:masterfrom
fried:bpo-35767

Conversation

@fried

@fried fried commented Jan 18, 2019

Copy link
Copy Markdown
Contributor

This was a regression I first noticed in 3.7 branch.

https://bugs.python.org/issue35767

@lisroach lisroach left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM. Thank you!

Comment thread Lib/unittest/test/test_loader.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit: Extra blank line?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep just removed the extra blank line.

removed an extra newline
@ambv
ambv merged commit fd628cf into python:master Jan 23, 2019
@bedevere-bot

Copy link
Copy Markdown

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

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @fried for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 23, 2019
…ythonGH-11600)

(cherry picked from commit fd628cf)

Co-authored-by: Jason Fried <me@jasonfried.info>
@bedevere-bot

Copy link
Copy Markdown

GH-11662 is a backport of this pull request to the 3.7 branch.

Comment thread Lib/unittest/loader.py

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The f-string is superfluous here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, it didn't wrap well as an f string, forgot to remove the f.

ambv pushed a commit that referenced this pull request Jan 24, 2019
…H-11600) (#11662)

(cherry picked from commit fd628cf)

Co-authored-by: Jason Fried <me@jasonfried.info>
@fried
fried deleted the bpo-35767 branch September 24, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants