code: def test_generator_noarg(name, create_using):
      print(name, create_using, type(create_using))
      if isinstance(create_using, nxcg.Graph) and name in {
          # fmt: off
          "bull_graph", "chvatal_graph", "cubical_graph", "diamond_graph",
          "house_graph", "house_x_graph", "icosahedral_graph", "krackhardt_kite_graph",
          "octahedral_graph", "petersen_graph", "truncated_cube_graph", "tutte_graph",
          # fmt: on
      }:
          # The _raise_on_directed decorator used in networkx doesn't like our graphs.
          if create_using.is_directed():
              with pytest.raises(AssertionError):
                  compare(name, create_using)
          else:
              with pytest.raises(TypeError):
                  compare(name, create_using)
      else:
          compare(name, create_using)
  
file_path: cugraph/python/nx-cugraph/nx_cugraph/tests/test_generators.py
imports: import networkx
  import numpy
  import pytest
  from packaging.version import parse
  import nx_cugraph
label_desc: Use image node_id 3 for calling a global function with example usage: test_generator_noarg(name, create_using) without return types