Home
last modified time | relevance | path

Searched refs:assertAllRaise (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_fstring.py29 def assertAllRaise(self, exception_type, regex, error_strings): member in TestCase
458 self.assertAllRaise(SyntaxError,
470 self.assertAllRaise(SyntaxError, 'f-string: unterminated string',
478 self.assertAllRaise(SyntaxError, r"f-string: closing parenthesis '\}' "
482 self.assertAllRaise(SyntaxError, r"f-string: closing parenthesis '\)' "
486 self.assertAllRaise(SyntaxError, r"f-string: closing parenthesis '\]' "
490 self.assertAllRaise(SyntaxError, r"f-string: closing parenthesis '\}' "
494 self.assertAllRaise(SyntaxError, r"f-string: closing parenthesis '\}' "
531 self.assertAllRaise(TypeError, 'unhashable type',
562 self.assertAllRaise(SyntaxErro
[all...]

Completed in 2 milliseconds