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