code: def test_connected_double_edge_swap_small():
      with pytest.raises(nx.NetworkXError):
          G = nx.connected_double_edge_swap(nx.path_graph(3))
  
imports: import pytest
  import networkx
label_desc: Use image node_id 17 for calling a global function with example usage: test_connected_double_edge_swap_small() without return types