Lines Matching refs:ctx
595 with self.assertRaises(ninja.ParseError) as ctx:
598 self.assertEqual(input_path, ctx.exception.path)
599 self.assertEqual(1, ctx.exception.line)
600 self.assertEqual(1, ctx.exception.column)
604 with self.assertRaises(ninja.ParseError) as ctx:
607 self.assertEqual(input_path, ctx.exception.path)
608 self.assertEqual(1, ctx.exception.line)
609 self.assertEqual(1, ctx.exception.column)
613 with self.assertRaises(ninja.ParseError) as ctx:
616 self.assertEqual(input_path, ctx.exception.path)
617 self.assertEqual(4, ctx.exception.line)
618 self.assertEqual(1, ctx.exception.column)
622 with self.assertRaises(ninja.ParseError) as ctx:
625 self.assertEqual(input_path, ctx.exception.path)
626 self.assertEqual(1, ctx.exception.line)
627 self.assertEqual(9, ctx.exception.column)