code: def test_bad_k():
      with pytest.raises(nx.NetworkXError):
          list(nx.community.k_clique_communities(nx.Graph(), 1))
  
file_path: networkx/networkx/algorithms/community/tests/test_kclique.py
imports: from itertools import combinations
  import pytest
  import networkx
label_desc: Use image node_id 3 for calling a global function with example usage: test_bad_k() without return types