code: def test_error_on_non_integer_weight(self):
      graph = two_node_graph()
      graph.nodes[2]["weight"] = 1.5
      with pytest.raises(ValueError):
          nx.algorithms.max_weight_clique(graph)
  
file_path: networkx/networkx/algorithms/tests/test_max_weight_clique.py
imports: import pytest
  import networkx
label_desc: Use image node_id 3 for calling the TestMaximumWeightClique obj's underlying member method code with example usage: obj.test_error_on_non_integer_weight() without return types