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