Searched refs:BadStructureException (Results 1 – 2 of 2) sorted by relevance
33 class BadStructureException(Exception): class102 raise BadStructureException("Missing CHECK-FI", -1)118 raise BadStructureException("CHECK-ELIF must be after CHECK-IF or CHECK-ELIF",121 raise BadStructureException("CHECK-ELIF cannot be after CHECK-ELSE", statement.line_no)134 raise BadStructureException("CHECK-ELSE must be after CHECK-IF or CHECK-ELIF",137 raise BadStructureException("Consecutive CHECK-ELSE statements", statement.line_no)149 raise BadStructureException("CHECK-FI does not have a matching CHECK-IF", statement.line_no)267 raise BadStructureException("A next-line statement can only be placed "
19 from match.file import match_test_case, MatchFailedException, BadStructureException155 with self.assertRaises(BadStructureException):