]> granicus.if.org Git - python/commit
Issue #22596: support.transient_internet() now also catches
authorBerker Peksag <berker.peksag@gmail.com>
Sat, 25 Oct 2014 02:42:30 +0000 (05:42 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sat, 25 Oct 2014 02:42:30 +0000 (05:42 +0300)
commit8b63d3af9f08c984331629c726d05794a1bbfc4a
tree50498c800837f150d7442686f89ea86463c1e975
parent6d1c149a46f274392d2d2adda998e64017e42030
Issue #22596: support.transient_internet() now also catches
ConnectionRefusedError exceptions wrapped by urllib.error.URLError.

This change should fix sporadic failures in test_urllib2net.
Lib/test/support/__init__.py
Lib/test/test_urllib2net.py