code: def test_upgrade_to_latest(self):
      for p in glob.iglob(
          os.path.join(os.path.dirname(__file__), "json_config/*.json")
      ):
          print("Trying to upgrade file:" + p + " to latest")
          with PathManager.open(p) as f:
              test_data = json.load(f)
              for test_case in test_data:
                  # make sure the config can be instantiated, don't need return value
                  pytext_config_from_json(test_case["original"])
  
file_path: pytext/pytext/config/test/config_adapter_test.py
imports: import glob
  import json
  import os
  import unittest
  from pytext.builtin_task import register_builtin_tasks
  from pytext.config import LATEST_VERSION, pytext_config_from_json
  from pytext.config.config_adapter import ADAPTERS, DOWNGRADE_ADAPTERS, downgrade_one_version, upgrade_one_version
  from pytext.utils.file_io import PathManager
label_desc: Use image node_id 6 for calling the ConfigAdapterTest obj's underlying member method code with example usage: obj.test_upgrade_to_latest() without return types