code: def test_get_latest_streamlit_version(self):
      with requests_mock.mock() as m:
          m.get(PYPI_STREAMLIT_URL, json={"info": {"version": "1.2.3"}})
          self.assertEqual(
              PkgVersion("1.2.3"), _get_latest_streamlit_version()
          )
  
file_path: streamlit/lib/tests/streamlit/version_test.py
imports: import unittest
  from unittest import mock
  import requests_mock
  from packaging.version import Version
  from streamlit import version
  from streamlit.version import PYPI_STREAMLIT_URL, _get_installed_streamlit_version, _get_latest_streamlit_version, should_show_new_version_notice
label_desc: Use image node_id 2 for calling the VersionTest obj's underlying member method code with example usage: obj.test_get_latest_streamlit_version() without return types