code: def test_expected_degree_graph_skew():
      deg_seq = [10, 2, 2, 2, 2]
      G1 = nx.expected_degree_graph(deg_seq, seed=1000)
      G2 = nx.expected_degree_graph(deg_seq, seed=1000)
      assert nx.is_isomorphic(G1, G2)
      assert len(G1) == 5
  
imports: import pytest
  import networkx
label_desc: Use image node_id 7 for calling a global function with example usage: test_expected_degree_graph_skew() without return types