diff options
author | Jim Shaver <dcypherd@gmail.com> | 2015-04-27 17:42:46 -0400 |
---|---|---|
committer | Jim Shaver <dcypherd@gmail.com> | 2015-05-27 17:39:57 -0400 |
commit | 85a4dff2618874657a4d8eae4aa0ebef4cfbadef (patch) | |
tree | 40109604360c1fd32c16294ed7172cae966b32f7 /OpenSSL | |
parent | 3cd0e672f930ff34b76cbf35893ca1d9a0b70f9d (diff) | |
download | pyopenssl-git-85a4dff2618874657a4d8eae4aa0ebef4cfbadef.tar.gz |
Make variable assignment in tests more readable
Diffstat (limited to 'OpenSSL')
-rw-r--r-- | OpenSSL/test/test_ssl.py | 4 |
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) |