bpo-30188: fix TypeError in test_nntplib (GH-2892)
fixes regression of 5b4feb7
This commit is contained in:
parent
ede9084476
commit
067931dd95
|
@ -274,9 +274,9 @@ class NetworkedNNTPTestsMixin:
|
|||
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…
Reference in New Issue