]> granicus.if.org Git - python/commit
[3.6] bpo-29887: Test normalization now fails if download fails (GH-905) (#2271)
authorMariatta <Mariatta@users.noreply.github.com>
Mon, 19 Jun 2017 11:22:54 +0000 (04:22 -0700)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 19 Jun 2017 11:22:54 +0000 (13:22 +0200)
commit51f40a81a4acbc85cb1034750fb16cb1854b2315
treebf3f7dbda0f7f5995eaf56983ebae04bfd4b0f50
parentccc06d32708157b6712808309faf52ceaf7c2870
[3.6] bpo-29887: Test normalization now fails if download fails (GH-905) (#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 722a3af092b94983aa26f5e591fb1b45e2c2a0ff)
Lib/test/test_normalization.py