code: def test_dispatch_kwds_vs_args():
      G = nx.path_graph(4)
      nx.pagerank(G)
      nx.pagerank(G=G)
      with pytest.raises(TypeError):
          nx.pagerank()
  
imports: import pickle
  import pytest
  import networkx
label_desc: Use image node_id 1 for calling a global function with example usage: test_dispatch_kwds_vs_args() without return types