Skip to content

bpo-29887: test_normalization handles PermissionError #1196

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
Apr 20, 2017
Merged

bpo-29887: test_normalization handles PermissionError #1196

merged 1 commit into from
Apr 20, 2017

Conversation

vstinner
Copy link
Member

Skip test_normalization.test_main() if download raises a permission
error.

Skip test_normalization.test_main() if download raises a permission
error.
@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 merged commit d13d547 into python:master Apr 20, 2017
@vstinner vstinner deleted the test_normalization_perm_err branch April 20, 2017 00:40
vstinner added a commit that referenced this pull request Jun 19, 2017
Skip test_normalization.test_main() if download raises a permission
error.
(cherry picked from commit d13d547)
Mariatta pushed a commit to Mariatta/cpython that referenced this pull request Jun 20, 2017
Skip test_normalization.test_main() if download raises a permission
error.
(cherry picked from commit d13d547)
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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants