code: def test_valid(self):
      for valid, expected in zip(VALID_FILES, VALID_FILES_EXPECTED):
          with self.subTest(msg=valid.stem):
              if isinstance(expected, MissingFile):
                  # For a poor man's xfail, assert that this is one of the
                  # test cases where expected data is known to be missing.
                  assert valid.stem in {
                      "qa-array-inline-nested-1000",
                      "qa-table-inline-nested-1000",
                  }
                  continue
              toml_str = valid.read_bytes().decode()
              actual = tomllib.loads(toml_str)
              actual = burntsushi.convert(actual)
              expected = burntsushi.normalize(expected)
              self.assertEqual(actual, expected)
  
file_path: cpython/Lib/test/test_tomllib/test_data.py
imports: import json
  from pathlib import Path
  import unittest
  from .None import burntsushi, tomllib
label_desc: Use image node_id 2 for calling the TestData obj's underlying member method code with example usage: obj.test_valid() without return types