code: def test_expected_degree_graph_selfloops():
      deg_seq = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3]
      G1 = nx.expected_degree_graph(deg_seq, seed=1000, selfloops=False)
      G2 = nx.expected_degree_graph(deg_seq, seed=1000, selfloops=False)
      assert nx.is_isomorphic(G1, G2)
      assert len(G1) == 12
  
imports: import pytest
  import networkx
label_desc: Use image node_id 6 for calling a global function with example usage: test_expected_degree_graph_selfloops() without return types