Skip to content

Commit

Permalink
Make variable assignment in tests more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
ihamburglar committed Apr 27, 2015
1 parent a7c3acb commit 50d7d15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenSSL/test/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2751,8 +2751,8 @@ def test_get_protocol_version(self):
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)
Expand Down

0 comments on commit 50d7d15

Please sign in to comment.