Lines Matching refs:ctx
145 with self.assertRaises(LexerError) as ctx:
147 self.assertEqual(ctx.exception.line, 1)
148 self.assertEqual(ctx.exception.column, 3)
150 with self.assertRaises(LexerError) as ctx:
152 self.assertEqual(ctx.exception.line, 1)
153 self.assertEqual(ctx.exception.column, 3)
168 with self.assertRaises(LexerError) as ctx:
170 self.assertEqual(ctx.exception.line, 1)
171 self.assertEqual(ctx.exception.column, 2)
218 with self.assertRaises(LexerError) as ctx:
220 self.assertEqual(ctx.exception.line, 1)
221 self.assertEqual(ctx.exception.column, 2)
244 with self.assertRaises(LexerError) as ctx:
246 self.assertEqual(ctx.exception.line, 1)
247 self.assertEqual(ctx.exception.column, 2)
271 with self.assertRaises(LexerError) as ctx:
273 self.assertEqual(ctx.exception.line, 1)
274 self.assertEqual(ctx.exception.column, 2)
300 with self.assertRaises(LexerError) as ctx:
302 self.assertEqual(ctx.exception.line, 1)
303 self.assertEqual(ctx.exception.column, 2)
334 with self.assertRaises(LexerError) as ctx:
336 self.assertEqual(ctx.exception.line, 1)
337 self.assertEqual(ctx.exception.column, 2)