mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
bpo-30188: fix TypeError in test_nntplib (GH-2892)
fixes regression of 5b4feb7
This commit is contained in:
parent
ede9084476
commit
067931dd95
1 changed files with 2 additions and 2 deletions
|
|
@ -274,9 +274,9 @@ def is_connected():
|
|||
NetworkedNNTPTestsMixin.wrap_methods()
|
||||
|
||||
|
||||
EOF_ERRORS = [EOFError]
|
||||
EOF_ERRORS = (EOFError,)
|
||||
if ssl is not None:
|
||||
EOF_ERRORS.append(ssl.SSLEOFError)
|
||||
EOF_ERRORS += (ssl.SSLEOFError,)
|
||||
|
||||
|
||||
class NetworkedNNTPTests(NetworkedNNTPTestsMixin, unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue