summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_nntplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_nntplib.py')
-rw-r--r--Lib/test/test_nntplib.py4
1 files 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):