Author vstinner
Recipients vstinner
Date 2017-04-27.15:07:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493305628.27.0.924756319794.issue30188@psf.upfronthosting.co.za>
In-reply-to
Content
Example of failure:

======================================================================
ERROR: setUpClass (test.test_nntplib.NetworkedNNTPTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/haypo/prog/python/master/Lib/test/test_nntplib.py", line 289, in setUpClass
    cls.server = cls.NNTP_CLASS(cls.NNTP_HOST, timeout=TIMEOUT, usenetrc=False)
  File "/home/haypo/prog/python/master/Lib/nntplib.py", line 1048, in __init__
    readermode, timeout)
  File "/home/haypo/prog/python/master/Lib/nntplib.py", line 330, in __init__
    self.welcome = self._getresp()
  File "/home/haypo/prog/python/master/Lib/nntplib.py", line 449, in _getresp
    resp = self._getline()
  File "/home/haypo/prog/python/master/Lib/nntplib.py", line 437, in _getline
    if not line: raise EOFError
EOFError

----------------------------------------------------------------------

Attached PR catch this error and skips the test.

See also issue #19613 and #19756.
History
Date User Action Args
2017-04-27 15:07:08vstinnersetrecipients: + vstinner
2017-04-27 15:07:08vstinnersetmessageid: <1493305628.27.0.924756319794.issue30188@psf.upfronthosting.co.za>
2017-04-27 15:07:08vstinnerlinkissue30188 messages
2017-04-27 15:07:08vstinnercreate