code: def test_paley_graph_badinput():
      with pytest.raises(
          nx.NetworkXError,
          match="`create_using` cannot be a multigraph.",
      ):
          nx.paley_graph(3, create_using=nx.MultiGraph)
  
file_path: networkx/networkx/generators/tests/test_expanders.py
imports: import pytest
  import networkx
label_desc: Use image node_id 11 for calling a global function with example usage: test_paley_graph_badinput() without return types