This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author corona10
Recipients corona10, lemburg, serhiy.storchaka, trrhodes, vstinner
Date 2021-01-01.08:46:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609490766.26.0.566040187237.issue42794@roundup.psfhosted.org>
In-reply-to
Content
== CPython 3.10.0a3+ (heads/master:c8a7b8fa1b, Jan 1 2021, 08:28:41) [GCC 7.5.0]
== Linux-5.4.0-1031-azure-x86_64-with-glibc2.27 little-endian
== cwd: /home/corona10/cpython/build/test_python_66899æ
== CPU count: 2
== encodings: locale=UTF-8, FS=utf-8
0:00:00 load avg: 0.00 Run tests sequentially
0:00:00 load avg: 0.00 [1/1] test_nntplib
test_descriptions (test.test_nntplib.NNTPv1Tests) ... ok
test_descriptions (test.test_nntplib.NNTPv2Tests) ... ok
test_descriptions (test.test_nntplib.NetworkedNNTPTests) ... ok
test_descriptions (test.test_nntplib.NetworkedNNTP_SSLTests) ... ERROR

======================================================================
ERROR: test_descriptions (test.test_nntplib.NetworkedNNTP_SSLTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/corona10/cpython/Lib/test/test_nntplib.py", line 250, in wrapped
    meth(self)
  File "/home/corona10/cpython/Lib/test/test_nntplib.py", line 99, in test_descriptions
    desc = descs[self.GROUP_NAME]
KeyError: 'comp.lang.python'

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

Ran 4 tests in 4.734s

FAILED (errors=1)
test test_nntplib failed
test_nntplib failed

== Tests result: FAILURE ==

1 test failed:
    test_nntplib

Total duration: 4.8 sec
Tests result: FAILURE


My test machine success to reproduce this issue.

(Pdb) descs
{}

There might be 4 ways to solve this issue.

1. Re-create group and skip test while descs is empty
2. Update test to use other NNTP server which supports SSL
History
Date User Action Args
2021-01-01 08:46:06corona10setrecipients: + corona10, lemburg, vstinner, serhiy.storchaka, trrhodes
2021-01-01 08:46:06corona10setmessageid: <1609490766.26.0.566040187237.issue42794@roundup.psfhosted.org>
2021-01-01 08:46:06corona10linkissue42794 messages
2021-01-01 08:46:05corona10create