Lines Matching refs:assertAllRaise

16     def assertAllRaise(self, exception_type, regex, error_strings):  member in TestCase
343 self.assertAllRaise(SyntaxError,
355 self.assertAllRaise(SyntaxError, 'f-string: unterminated string',
363 self.assertAllRaise(SyntaxError, 'f-string: mismatched',
398 self.assertAllRaise(TypeError, 'unhashable type',
429 self.assertAllRaise(SyntaxError, "f-string: expecting '}'",
439 self.assertAllRaise(SyntaxError, "f-string expression part cannot include '#'",
487 self.assertAllRaise(SyntaxError, "f-string: expecting '}'",
493 self.assertAllRaise(SyntaxError, "invalid syntax",
498 self.assertAllRaise(SyntaxError, "f-string: expressions nested too deeply",
503 self.assertAllRaise(SyntaxError, 'f-string: invalid conversion character',
521 self.assertAllRaise(SyntaxError, 'f-string: empty expression not allowed',
555 self.assertAllRaise(SyntaxError, 'invalid character in identifier',
567 self.assertAllRaise(SyntaxError, 'invalid syntax',
572 self.assertAllRaise(SyntaxError, "f-string: expecting '}'",
576 self.assertAllRaise(SyntaxError, 'EOL while scanning string literal',
638 …self.assertAllRaise(SyntaxError, r"\(unicode error\) 'unicodeescape' codec can't decode bytes in p…
651 self.assertAllRaise(SyntaxError, 'f-string expression part cannot include a backslash',
685 self.assertAllRaise(SyntaxError, 'unexpected EOF while parsing',
813 self.assertAllRaise(SyntaxError, 'unexpected EOF while parsing',
875 self.assertAllRaise(SyntaxError, 'f-string: invalid conversion character',
885 self.assertAllRaise(SyntaxError, "f-string: expecting '}'",
893 self.assertAllRaise(SyntaxError, 'invalid syntax',
900 self.assertAllRaise(SyntaxError, 'invalid syntax',
906 self.assertAllRaise(SyntaxError, "f-string: single '}' is not allowed",
919 self.assertAllRaise(SyntaxError, "f-string: expecting '}'",
999 self.assertAllRaise(SyntaxError, 'invalid syntax',
1006 self.assertAllRaise(TypeError, 'unsupported',
1010 self.assertAllRaise(ValueError, 'Unknown format code',