bpo-30188: fix TypeError in test_nntplib (GH-2892)

fixes regression of 5b4feb7
This commit is contained in:
INADA Naoki 2017-07-26 23:43:22 +09:00 committed by GitHub
parent ede9084476
commit 067931dd95
1 changed files with 2 additions and 2 deletions

View File

@ -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):