[New-bugs-announce] [issue32128] test_nntplib: test_article_head_body() fails in SSL mode

STINNER Victor report at bugs.python.org
Fri Nov 24 20:23:42 EST 2017


New submission from STINNER Victor <victor.stinner at gmail.com>:

The news.trigofacile.com NNTP server used by test_nntplib currently has troubles on SSL:

$ ./python -m test -u all -v test_nntplib -m test_article_head_body  

======================================================================
FAIL: test_article_head_body (test.test_nntplib.NetworkedNNTP_SSLTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/haypo/prog/python/3.6/Lib/test/test_nntplib.py", line 242, in wrapped
    meth(self)
  File "/home/haypo/prog/python/3.6/Lib/test/test_nntplib.py", line 187, in test_article_head_body
    self.check_article_resp(resp, body, art_num)
  File "/home/haypo/prog/python/3.6/Lib/test/test_nntplib.py", line 167, in check_article_resp
    self.assertNotIn(article.lines[-1], (b".", b".\n", b".\r\n"))
AssertionError: b'.' unexpectedly found in (b'.', b'.\n', b'.\r\n')


See also bpo-19613.

----------
components: Tests
messages: 306930
nosy: vstinner
priority: normal
severity: normal
status: open
title: test_nntplib: test_article_head_body() fails in SSL mode
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32128>
_______________________________________


More information about the New-bugs-announce mailing list