Issue 31511: test_normalization: test.support.open_urlresource() doesn't handle urllib.error.URLError timeout (original) (raw)
http://buildbot.python.org/all/builders/AMD64%20Debian%20PGO%203.x/builds/1316/steps/test/logs/stdio
====================================================================== FAIL: test_main (test.test_normalization.NormalizationTest)
Traceback (most recent call last): File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.x.gps-debian-profile-opt.nondebug/build/Lib/urllib/request.py", line 1316, in do_open encode_chunked=req.has_header('Transfer-encoding')) socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.x.gps-debian-profile-opt.nondebug/build/Lib/test/test_normalization.py", line 42, in test_main check=check_version) urllib.error.URLError:
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/var/lib/buildbot/slaves/enable-optimizations-bot/3.x.gps-debian-profile-opt.nondebug/build/Lib/test/test_normalization.py", line 47, in test_main self.fail(f"Could not retrieve {TESTDATAURL}") AssertionError: Could not retrieve http://www.pythontest.net/unicode/10.0.0/NormalizationTest.txt