]> granicus.if.org Git - python/commit
Issue #25859: Reimplement NNTP test_starttls() using local server
authorMartin Panter <vadmium+py@gmail.com>
Tue, 19 Jan 2016 01:10:58 +0000 (01:10 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Tue, 19 Jan 2016 01:10:58 +0000 (01:10 +0000)
commit8f19e8e1c52843176c5ee9c4b6ea117be961ad59
tree7cdeeb6f20ee82b0ed134bbd9653bee64a648133
parent1b25eff76e2601626b9784c6366ebfc3c7f99235
Issue #25859: Reimplement NNTP test_starttls() using local server

The previous test relied on a remote server, which currently seems to be
shutting the connection down once TLS has been set up, causing an EOFError.
Now the test is implemented using a minimal NNTP server running in a
background thread.
Lib/test/test_nntplib.py