Searched refs:assertAllRaise (Results 1 – 1 of 1) sorted by relevance
/third_party/python/Lib/test/ |
D | test_fstring.py | 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 '}'", [all …]
|