Lines Matching refs:errors
847 found, errors = self.execParser(grammar, "decl", "int 34 x=1;",
850 errors)
867 found, errors = self.execParser(grammar, "decl", "int =1;",
869 self.assertEquals(["line 1:4 missing ID at u'='"], errors)
886 found, errors = self.execParser(grammar, "decl", "x=1;",
888 self.assertEquals(["line 1:0 mismatched input u'x' expecting set None"], errors)
903 found, errors = self.execParser(grammar, "a", "abc", expectErrors=True)
904 self.assertEquals(["line 1:3 missing INT at '<EOF>'"], errors)
920 found, errors = self.execParser(grammar, "a", "abc", expectErrors=True)
921 self.assertEquals(["line 1:3 mismatched input '<EOF>' expecting INT"], errors)
938 found, errors = self.execParser(grammar, "a", "abc ick 34",
941 errors)
956 found, errors = self.execParser(grammar, "a", "34", expectErrors=True)
957 self.assertEquals(["line 1:0 missing ID at u'34'"], errors)
974 found, errors = self.execParser(grammar, "a", "34", expectErrors=True)
979 self.assertEquals(["line 1:0 missing ID at u'34'"], errors)
997 found, errors = self.execParser(grammar, "a", "*", expectErrors=True)
999 errors)