summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2014-02-02 11:12:30 -0500
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2014-02-02 11:12:30 -0500
commit3835e52f89ecaa7c7c9ab18872d19a758e449135 (patch)
tree1fc682e17d53dd0e34b72abf652aca9a11e1504a
parentf2bbc9cc0166a7f0db9a750b38e1a924dadb2108 (diff)
downloadpyopenssl-3835e52f89ecaa7c7c9ab18872d19a758e449135.tar.gz
clean up messy comment
-rw-r--r--OpenSSL/test/test_ssl.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py
index 712009b..a9b9890 100644
--- a/OpenSSL/test/test_ssl.py
+++ b/OpenSSL/test/test_ssl.py
@@ -702,11 +702,11 @@ class ContextTests(TestCase, _LoopbackMixin):
handshake(clientSSL, serverSSL)
- # The callback must always be called with the connection it is a
- # callback for as the first argument. It would probably be better to
- # split this into separate tests for client and server side info
- # callbacks. It would also be good to at least assert *something*
- # about `where` and `ret`.
+ # The callback must always be called with a Connection instance as the
+ # first argument. It would probably be better to split this into
+ # separate tests for client and server side info callbacks so we could
+ # assert it is called with the right Connection instance. It would
+ # also be good to assert *something* about `where` and `ret`.
notConnections = [
conn for (conn, where, ret) in called
if not isinstance(conn, Connection)]