code: def test_pydot_numerical_name():
      G = nx.Graph()
      G.add_edges_from([("A", "B"), (0, 1)])
      graph_layout = nx.nx_pydot.pydot_layout(G, prog="dot")
      assert isinstance(graph_layout, dict)
      assert "0" not in graph_layout
      assert 0 in graph_layout
      assert "1" not in graph_layout
      assert 1 in graph_layout
      assert "A" in graph_layout
      assert "B" in graph_layout
  
file_path: networkx/networkx/drawing/tests/test_pydot.py
imports: from io import StringIO
  import pytest
  import networkx
  from networkx.utils import graphs_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_pydot_numerical_name() without return types