code: def test_invalid(self):
      for invalid in INVALID_FILES:
          with self.subTest(msg=invalid.stem):
              toml_bytes = invalid.read_bytes()
              try:
                  toml_str = toml_bytes.decode()
              except UnicodeDecodeError:
                  # Some BurntSushi tests are not valid UTF-8. Skip those.
                  continue
              with self.assertRaises(tomllib.TOMLDecodeError):
                  tomllib.loads(toml_str)
  
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 1 for calling the TestData obj's underlying member method code with example usage: obj.test_invalid() without return types