code: def test_partition_argument_non_integer_nodes():
      G = nx.Graph([("A", "B"), ("A", "C"), ("B", "C"), ("C", "D")])
      partition = ({"A", "B"}, {"C", "D"})
      C = kernighan_lin_bisection(G, partition)
      assert_partition_equal(C, partition)
  
file_path: networkx/networkx/algorithms/community/tests/test_kernighan_lin.py
imports: from itertools import permutations
  import pytest
  import networkx
  from networkx.algorithms.community import kernighan_lin_bisection
label_desc: Use image node_id 4 for calling a global function with example usage: test_partition_argument_non_integer_nodes() without return types