code: def test_random_degree_sequence_graph_raise():
      z = [1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 4]
      pytest.raises(
          nx.NetworkXUnfeasible, nx.random_degree_sequence_graph, z
      )
  
imports: import pytest
  import networkx
label_desc: Use image node_id 12 for calling a global function with example usage: test_random_degree_sequence_graph_raise() without return types