code: def test_open_tunnel():
      with pytest.raises((RuntimeError, socket.error)):
          open_tunnel("tcp://localhost:1234", "does.not.exist")
  
imports: import socket
  import pytest
  from jupyter_client.ssh.tunnel import open_tunnel, select_random_ports
label_desc: Use image node_id 2 for calling a global function with example usage: test_open_tunnel() without return types