def assert_formats(self, locale, format_string, expectations=None):
if expectations is None:<EOL><INDENT>format_string, expectations = locale, format_string<EOL>locale = None<EOL><DEDENT>for args, expected in expectations.items():<EOL><INDENT>self.assert_format(locale, format_string, args, expected)<EOL><DEDENT>
Asserts formatted strings by multiple arguments.