Lines Matching refs:cm
42 with self.assertRaises(SyntaxError) as cm:
44 self.check_syntax_error(cm.exception, "badsyntax_future3", 3)
47 with self.assertRaises(SyntaxError) as cm:
49 self.check_syntax_error(cm.exception, "badsyntax_future4", 3)
52 with self.assertRaises(SyntaxError) as cm:
54 self.check_syntax_error(cm.exception, "badsyntax_future5", 4)
57 with self.assertRaises(SyntaxError) as cm:
59 self.check_syntax_error(cm.exception, "badsyntax_future6", 3)
62 with self.assertRaises(SyntaxError) as cm:
64 self.check_syntax_error(cm.exception, "badsyntax_future7", 3, 53)
67 with self.assertRaises(SyntaxError) as cm:
69 self.check_syntax_error(cm.exception, "badsyntax_future8", 3)
72 with self.assertRaises(SyntaxError) as cm:
74 self.check_syntax_error(cm.exception, "badsyntax_future9", 3)
77 with self.assertRaises(SyntaxError) as cm:
79 self.check_syntax_error(cm.exception, "badsyntax_future10", 3)