We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ede9084 commit 067931dCopy full SHA for 067931d
1 file changed
Lib/test/test_nntplib.py
@@ -274,9 +274,9 @@ def is_connected():
274
NetworkedNNTPTestsMixin.wrap_methods()
275
276
277
-EOF_ERRORS = [EOFError]
+EOF_ERRORS = (EOFError,)
278
if ssl is not None:
279
- EOF_ERRORS.append(ssl.SSLEOFError)
+ EOF_ERRORS += (ssl.SSLEOFError,)
280
281
282
class NetworkedNNTPTests(NetworkedNNTPTestsMixin, unittest.TestCase):
0 commit comments