Skip to content

bpo-29887: Test normalization now fails if download fails #905

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 2 commits into from
Mar 30, 2017
Merged

bpo-29887: Test normalization now fails if download fails #905

merged 2 commits into from
Mar 30, 2017

Conversation

vstinner
Copy link
Member

No description provided.

bpo-29887. The test is still skipped if "-u urlfetch" option is not
passed to regrtest (python3 -m test -u urlfetch test_normalization).
bpo-29887: Fix ResourceWarning in test_normalization if tests are
interrupted by CTRL+c.
@mention-bot
Copy link

@Haypo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @loewis, @florentx and @benjaminp to be potential reviewers.

@vstinner vstinner added the tests Tests in the Lib/test dir label Mar 30, 2017
@vstinner vstinner merged commit 722a3af into python:master Mar 30, 2017
@vstinner vstinner deleted the test_normalization branch March 30, 2017 15:06
Mariatta pushed a commit to Mariatta/cpython that referenced this pull request Jun 19, 2017
…onGH-905)

* test_normalization fails if download fails

bpo-29887. The test is still skipped if "-u urlfetch" option is not
passed to regrtest (python3 -m test -u urlfetch test_normalization).

* Fix ResourceWarning in test_normalization

bpo-29887: Fix ResourceWarning in test_normalization if tests are
interrupted by CTRL+c.
(cherry picked from commit 722a3af)
Mariatta pushed a commit to Mariatta/cpython that referenced this pull request Jun 19, 2017
…onGH-905)

* test_normalization fails if download fails

bpo-29887. The test is still skipped if "-u urlfetch" option is not
passed to regrtest (python3 -m test -u urlfetch test_normalization).

* Fix ResourceWarning in test_normalization

bpo-29887: Fix ResourceWarning in test_normalization if tests are
interrupted by CTRL+c.
(cherry picked from commit 722a3af)
@bedevere-bot
Copy link

GH-2271 is a backport of this pull request to the 3.6 branch.

@bedevere-bot
Copy link

GH-2272 is a backport of this pull request to the 3.5 branch.

vstinner pushed a commit that referenced this pull request Jun 19, 2017
…) (#2271)

* test_normalization fails if download fails

bpo-29887. The test is still skipped if "-u urlfetch" option is not
passed to regrtest (python3 -m test -u urlfetch test_normalization).

* Fix ResourceWarning in test_normalization

bpo-29887: Fix ResourceWarning in test_normalization if tests are
interrupted by CTRL+c.
(cherry picked from commit 722a3af)
vstinner pushed a commit that referenced this pull request Jun 20, 2017
…) (#2272)

* [3.5] bpo-29887: Test normalization now fails if download fails (GH-905)

* test_normalization fails if download fails

bpo-29887. The test is still skipped if "-u urlfetch" option is not
passed to regrtest (python3 -m test -u urlfetch test_normalization).

* Fix ResourceWarning in test_normalization

bpo-29887: Fix ResourceWarning in test_normalization if tests are
interrupted by CTRL+c.
(cherry picked from commit 722a3af)

* bpo-29887: test_normalization handles PermissionError (#1196)

Skip test_normalization.test_main() if download raises a permission
error.
(cherry picked from commit d13d547)

* no f-strings :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants