[issue39343] Travis CI: documentation job fails in library/nntplib.rst with random network issue on news.gmane.io
Terry J. Reedy
report at bugs.python.org
Fri May 29 19:48:42 EDT 2020
Terry J. Reedy <tjreedy at udel.edu> added the comment:
gmane was down for maybe a day early this week. We should expect this to continue happening on and off, as it has for years (I use it daily). I suggest that we run the test when we can and skip (or connect elsewhere) when we cannot.
try:
s = NNTP('news.gmane.io')
except ConnectionRefusedError as e:
self.skipTest(f'Gmane down: {e}')
----------
nosy: +terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39343>
_______________________________________
More information about the Python-bugs-list
mailing list