code: def test_small_graph_true():
      z = [5, 3, 3, 3, 3, 2, 2, 2, 1, 1, 1]
      assert nx.is_graphical(z, method="hh")
      assert nx.is_graphical(z, method="eg")
      z = [10, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2]
      assert nx.is_graphical(z, method="hh")
      assert nx.is_graphical(z, method="eg")
      z = [1, 1, 1, 1, 1, 2, 2, 2, 3, 4]
      assert nx.is_graphical(z, method="hh")
      assert nx.is_graphical(z, method="eg")
  
file_path: networkx/networkx/algorithms/tests/test_graphical.py
imports: import pytest
  import networkx
label_desc: Use image node_id 6 for calling a global function with example usage: test_small_graph_true() without return types