• Home
  • Raw
  • Download

Lines Matching refs:assertAllRaise

29     def assertAllRaise(self, exception_type, regex, error_strings):  member in TestCase
429 self.assertAllRaise(SyntaxError,
441 self.assertAllRaise(SyntaxError, 'f-string: unterminated string',
449 self.assertAllRaise(SyntaxError, r"f-string: closing parenthesis '\}' "
453 self.assertAllRaise(SyntaxError, r"f-string: closing parenthesis '\)' "
457 self.assertAllRaise(SyntaxError, r"f-string: closing parenthesis '\]' "
461 self.assertAllRaise(SyntaxError, r"f-string: closing parenthesis '\}' "
465 self.assertAllRaise(SyntaxError, r"f-string: closing parenthesis '\}' "
502 self.assertAllRaise(TypeError, 'unhashable type',
533 self.assertAllRaise(SyntaxError, "f-string: expecting '}'",
543 self.assertAllRaise(SyntaxError, "f-string expression part cannot include '#'",
548 self.assertAllRaise(SyntaxError, r"f-string: unmatched '\)'",
593 self.assertAllRaise(SyntaxError, "f-string: expecting '}'",
599 self.assertAllRaise(SyntaxError, "f-string: invalid syntax",
604 self.assertAllRaise(SyntaxError, "f-string: expressions nested too deeply",
609 self.assertAllRaise(SyntaxError, 'f-string: invalid conversion character',
627 self.assertAllRaise(SyntaxError, 'f-string: empty expression not allowed',
661 self.assertAllRaise(SyntaxError, r"invalid non-printable character U\+00A0",
673 self.assertAllRaise(SyntaxError, 'f-string: invalid syntax',
678 self.assertAllRaise(SyntaxError, r"f-string: unmatched '\)'",
682 self.assertAllRaise(SyntaxError, 'unterminated string literal',
686 self.assertAllRaise(SyntaxError, "invalid syntax",
747 …self.assertAllRaise(SyntaxError, r"\(unicode error\) 'unicodeescape' codec can't decode bytes in p…
760 self.assertAllRaise(SyntaxError, 'f-string expression part cannot include a backslash',
794 self.assertAllRaise(SyntaxError, 'f-string: invalid syntax',
947 self.assertAllRaise(SyntaxError, 'invalid syntax',
993 self.assertAllRaise(SyntaxError, 'f-string: invalid conversion character',
1003 self.assertAllRaise(SyntaxError, "f-string: expecting '}'",
1011 self.assertAllRaise(SyntaxError, r'invalid syntax',
1018 self.assertAllRaise(SyntaxError, 'invalid syntax',
1024 self.assertAllRaise(SyntaxError, "f-string: single '}' is not allowed",
1037 self.assertAllRaise(SyntaxError, "f-string: expecting '}'",
1118 self.assertAllRaise(TypeError, 'unsupported',
1122 self.assertAllRaise(ValueError, 'Unknown format code',