def METHOD_NAME(self):
    config_path = self.create('.bugwarrior.toml')
    with open(config_path, 'w') as fout:
        fout.write(textwrap.dedent("""
            [general
            foo = "bar"
        """))
    with self.assertRaises(tomllib.TOMLDecodeError):
        load.parse_file(config_path)