code: def test_raises_on_directed_and_multigraphs(graph_constructor):
      G = graph_constructor([(0, 1), (1, 2)])
      with pytest.raises(nx.NetworkXNotImplemented):
          nx.community.asyn_fluidc(G, 1)
  
file_path: networkx/networkx/algorithms/community/tests/test_asyn_fluid.py
imports: import pytest
  import networkx
  from networkx import Graph, NetworkXError
  from networkx.algorithms.community import asyn_fluidc
label_desc: Use image node_id 1 for calling a global function with example usage: test_raises_on_directed_and_multigraphs(graph_constructor) without return types