Skip to content

Commit 067931d

Browse files
authored
bpo-30188: fix TypeError in test_nntplib (GH-2892)
fixes regression of 5b4feb7
1 parent ede9084 commit 067931d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_nntplib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ def is_connected():
274274
NetworkedNNTPTestsMixin.wrap_methods()
275275

276276

277-
EOF_ERRORS = [EOFError]
277+
EOF_ERRORS = (EOFError,)
278278
if ssl is not None:
279-
EOF_ERRORS.append(ssl.SSLEOFError)
279+
EOF_ERRORS += (ssl.SSLEOFError,)
280280

281281

282282
class NetworkedNNTPTests(NetworkedNNTPTestsMixin, unittest.TestCase):

0 commit comments

Comments
 (0)