Commit 067931dd authored by INADA Naoki's avatar INADA Naoki Committed by GitHub

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

fixes regression of 5b4feb7e
parent ede90844
...@@ -274,9 +274,9 @@ class NetworkedNNTPTestsMixin: ...@@ -274,9 +274,9 @@ class NetworkedNNTPTestsMixin:
NetworkedNNTPTestsMixin.wrap_methods() NetworkedNNTPTestsMixin.wrap_methods()
EOF_ERRORS = [EOFError] EOF_ERRORS = (EOFError,)
if ssl is not None: if ssl is not None:
EOF_ERRORS.append(ssl.SSLEOFError) EOF_ERRORS += (ssl.SSLEOFError,)
class NetworkedNNTPTests(NetworkedNNTPTestsMixin, unittest.TestCase): class NetworkedNNTPTests(NetworkedNNTPTestsMixin, unittest.TestCase):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment