projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede9084
)
bpo-30188: fix TypeError in test_nntplib (GH-2892)
author
INADA Naoki
<methane@users.noreply.github.com>
Wed, 26 Jul 2017 14:43:22 +0000
(23:43 +0900)
committer
GitHub
<noreply@github.com>
Wed, 26 Jul 2017 14:43:22 +0000
(23:43 +0900)
fixes regression of
5b4feb7
Lib/test/test_nntplib.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_nntplib.py
b/Lib/test/test_nntplib.py
index 482de66e3f4782fa6b9c8a9208c7c7abf230654c..e2cd36a4d041264c324aa39e0811ac0d68af1a6a 100644
(file)
--- 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):