summaryrefslogtreecommitdiff
path: root/OpenSSL
diff options
context:
space:
mode:
authorJim Shaver <dcypherd@gmail.com>2015-04-27 17:42:46 -0400
committerJim Shaver <dcypherd@gmail.com>2015-05-27 17:39:57 -0400
commit85a4dff2618874657a4d8eae4aa0ebef4cfbadef (patch)
tree40109604360c1fd32c16294ed7172cae966b32f7 /OpenSSL
parent3cd0e672f930ff34b76cbf35893ca1d9a0b70f9d (diff)
downloadpyopenssl-git-85a4dff2618874657a4d8eae4aa0ebef4cfbadef.tar.gz
Make variable assignment in tests more readable
Diffstat (limited to 'OpenSSL')
-rw-r--r--OpenSSL/test/test_ssl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py
index d92d70f..e118c15 100644
--- a/OpenSSL/test/test_ssl.py
+++ b/OpenSSL/test/test_ssl.py
@@ -2751,8 +2751,8 @@ class ConnectionTests(TestCase, _LoopbackMixin):
giving the protocol version of the current connection.
"""
server, client = self._loopback()
- server_protocol_version, client_protocol_version = \
- server.get_protocol_version(), client.get_protocol_version()
+ client_protocol_version = client.get_protocol_version()
+ server_protocol_version = server.get_protocol_version()
self.assertIsInstance(server_protocol_version, text_type)
self.assertIsInstance(client_protocol_version, text_type)