bpo-29887: Test normalization now fails if download fails (#905)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 30 Mar 2017 15:06:53 +0000 (17:06 +0200)
committerGitHub <noreply@github.com>
Thu, 30 Mar 2017 15:06:53 +0000 (17:06 +0200)
commit722a3af092b94983aa26f5e591fb1b45e2c2a0ff
tree172e680ca202d69d341db1e6cce10288d4f1dc81
parentf15c4d374a07c576c0e8349b16604f6dbad0b953
bpo-29887: Test normalization now fails if download fails (#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.
Lib/test/test_normalization.py