Lines Matching refs:LexerError
24 from blueprint import Lexer, LexerError, Token
49 exc = LexerError('a %', 2, 'unexpected character')
55 exc = LexerError('a\nb\ncde %', 8, 'unexpected character')
65 raise LexerError('a', 0, 'error')
145 with self.assertRaises(LexerError) as ctx:
150 with self.assertRaises(LexerError) as ctx:
168 with self.assertRaises(LexerError) as ctx:
218 with self.assertRaises(LexerError) as ctx:
244 with self.assertRaises(LexerError) as ctx:
271 with self.assertRaises(LexerError) as ctx:
300 with self.assertRaises(LexerError) as ctx:
334 with self.assertRaises(LexerError) as ctx: