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