def test_syntax_error(self):
        try:
            self._parse_contents(b':')
        except confuse.ConfigError as exc:
            self.assertTrue(exc.filename in 'test_config.yaml')
        else:
            self.fail('ConfigError not raised')
dataset/ETHPy150Open sampsyo/confit/test/test_yaml.py/FileParseTest.test_syntax_error/swapped operands of `in`