code: def test_expected_degree_graph_empty():
      # empty graph has empty degree sequence
      deg_seq = []
      G = nx.expected_degree_graph(deg_seq)
      assert dict(G.degree()) == {}
  
imports: import pytest
  import networkx
label_desc: Use image node_id 4 for calling a global function with example usage: test_expected_degree_graph_empty() without return types