diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2017-07-26 14:43:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-26 14:43:22 (GMT) |
commit | 067931dd95ddfa34297be9c602a796d9f8d9bea3 (patch) | |
tree | 168ff5169d218803199e6d2420529471cb0d85d3 /Lib | |
parent | ede9084476f88f5a86c7eaaac33cdd938e4cce93 (diff) | |
download | cpython-067931dd95ddfa34297be9c602a796d9f8d9bea3.zip cpython-067931dd95ddfa34297be9c602a796d9f8d9bea3.tar.gz cpython-067931dd95ddfa34297be9c602a796d9f8d9bea3.tar.bz2 |
bpo-30188: fix TypeError in test_nntplib (GH-2892)
fixes regression of 5b4feb7
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_nntplib.py | 4 |
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): |