docstr: Ensure Error is raised when decoding Infinity or -Infinity
docstr_tok: ["Ensure","Error","is","raised","when","decoding","Infinity","or","-Infinity"]
code: def test_decode_inf(self):
      """
      Ensure Error is raised when decoding Infinity or -Infinity
      """
      self._raises_on_load(
          '{"type": "Point", "coordinates": [1.0, Infinity]}'
      )
  
      self._raises_on_load(
          '{"type": "Point", "coordinates": [1.0, -Infinity]}'
      )
  
file_path: geojson/tests/test_strict_json.py
imports: import unittest
  import geojson
label_desc: Use image node_id 5 for calling the StrictJsonTest obj's underlying member method code with example usage: obj.test_decode_inf() without return types