def test_tab_indentation_error(self):
        try:
            self._parse_contents(b"foo:\n\tbar: baz")
        except confuse.ConfigError as exc:
            self.assertTrue('found tab' in exc.args[0])
        else:
            self.fail('ConfigError not raised')
dataset/ETHPy150Open sampsyo/confit/test/test_yaml.py/FileParseTest.test_tab_indentation_error/original