code: def test_upgrade_one_version(self):
      # Always show the full diff, easier to debug when getting a failed log
      self.maxDiff = None
      for p in glob.iglob(
          os.path.join(
              os.path.dirname(__file__),
              "json_config/*_test_upgrade.json",
          )
      ):
          print("Trying to upgrade file:" + p)
          with PathManager.open(p) as f:
              test_data = json.load(f)
              for test_case in test_data:
                  old_config = test_case["original"]
                  new_config = upgrade_one_version(old_config)
                  self.assertEqual(new_config, test_case["adapted"])
  
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 4 for calling the ConfigAdapterTest obj's underlying member method code with example usage: obj.test_upgrade_one_version() without return types