code: def test_infinity_hash():
      assert hash(Infinity) == hash(Infinity)
  
file_path: packaging/tests/test_structures.py
imports: import pytest
  from packaging._structures import Infinity, NegativeInfinity
label_desc: Use image node_id 3 for calling a global function with example usage: test_infinity_hash() without return types