code: def test_should_warn_with_unable_to_parse(
      self, mock_get, monkeypatch
  ):
      monkeypatch.setenv("GRADIO_ANALYTICS_ENABLED", "True")
      mock_get.side_effect = json.decoder.JSONDecodeError(
          "Expecting value", "", 0
      )
  
      with warnings.catch_warnings(record=True) as w:
          warnings.simplefilter("always")
          analytics.version_check()
          assert (
              str(w[-1].message)
              == "unable to parse version details from package URL."
          )
  
file_path: gradio/test/test_analytics.py
imports: import asyncio
  import ipaddress
  import json
  import os
  import warnings
  from unittest import mock
  import httpx
  import pytest
  from gradio import analytics, wasm_utils
  from gradio.context import Context
label_desc: Use image node_id 1 for calling the TestAnalytics obj's underlying member method code with example usage: obj.test_should_warn_with_unable_to_parse(mock_get, monkeypatch) without return types