def test_get_protocol_version(self):
    '\n        `Connection.get_protocol_version()` returns an integer\n        giving the protocol version of the current connection.\n        '
    (server, client) = loopback()
    client_protocol_version = client.get_protocol_version()
    server_protocol_version = server.get_protocol_version()
    assert isinstance(server_protocol_version, int)
    assert isinstance(client_protocol_version, int)
    assert (server_protocol_version == client_protocol_version)
`Connection.get_protocol_version()` returns an integer
giving the protocol version of the current connection.
def test_get_protocol_version(self):
    '\n        `Connection.get_protocol_version()` returns an integer\n        giving the protocol version of the current connection.\n        '
    (server, client) = loopback()
    client_protocol_version = client.get_protocol_version()
    server_protocol_version = server.get_protocol_version()
    assert isinstance(server_protocol_version, int)
    assert isinstance(client_protocol_version, int)
    assert (server_protocol_version == client_protocol_version)