Carl Meyer <c...@oddbird.net> added the comment:
Created a PR that fixes this by being more consistent in how urllib wraps network errors. If there are backward-compatibility concerns with this change, another option could be some really ugly regex-matching code in `test.support.transient_internet`. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43564> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com