def test_call_throws_exception_if_socket_none(self, rpc):
        with pytest.raises(connection.SerfConnectionError) as exceptionInfo:
            rpc.call('members')
        assert str(exceptionInfo) in 'handshake must be made first'
dataset/ETHPy150Open KushalP/serfclient-py/tests/test_connection.py/TestSerfConnection.test_call_throws_exception_if_socket_none/swapped operands of `in`