Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_fstring.py16 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",
[all …]