code: def tests_raises_with_directed_create_using(fn, create_using):
      with pytest.raises(
          nx.NetworkXError, match="Directed Graph not supported"
      ):
          fn(create_using=create_using)
  
imports: import pytest
  import networkx
  from networkx.algorithms.isomorphism.isomorph import graph_could_be_isomorphic
label_desc: Use image node_id 1 for calling a global function with example usage: tests_raises_with_directed_create_using(fn, create_using) without return types