From 067931dd95ddfa34297be9c602a796d9f8d9bea3 Mon Sep 17 00:00:00 2001 From: INADA Naoki Date: Wed, 26 Jul 2017 23:43:22 +0900 Subject: bpo-30188: fix TypeError in test_nntplib (GH-2892) fixes regression of 5b4feb7 --- Lib/test/test_nntplib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_nntplib.py b/Lib/test/test_nntplib.py index 482de66..e2cd36a 100644 --- a/Lib/test/test_nntplib.py +++ b/Lib/test/test_nntplib.py @@ -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): -- cgit v0.12