def test_build_file_parser_error_hierarcy(self):
    'Exception handling code depends on the fact that all explicit exceptions from BuildFileParser\n    are subclassed from the BuildFileParserError base class.\n    '

    def assert_build_file_parser_error(e):
        self.assertIsInstance(e, BuildFileParser.BuildFileParserError)
    assert_build_file_parser_error(BuildFileParser.BuildFileScanError())
    assert_build_file_parser_error(BuildFileParser.AddressableConflictException())
    assert_build_file_parser_error(BuildFileParser.SiblingConflictException())
    assert_build_file_parser_error(BuildFileParser.ParseError())
    assert_build_file_parser_error(BuildFileParser.ExecuteError())
Exception handling code depends on the fact that all explicit exceptions from BuildFileParser
are subclassed from the BuildFileParserError base class.
def test_build_file_parser_error_hierarcy(self):
    'Exception handling code depends on the fact that all explicit exceptions from BuildFileParser\n    are subclassed from the BuildFileParserError base class.\n    '

    def assert_build_file_parser_error(e):
        self.assertIsInstance(e, BuildFileParser.BuildFileParserError)
    assert_build_file_parser_error(BuildFileParser.BuildFileScanError())
    assert_build_file_parser_error(BuildFileParser.AddressableConflictException())
    assert_build_file_parser_error(BuildFileParser.SiblingConflictException())
    assert_build_file_parser_error(BuildFileParser.ParseError())
    assert_build_file_parser_error(BuildFileParser.ExecuteError())