MCPcopy Index your code
hub / github.com/python/cpython / _test_format_string

Method _test_format_string

Lib/test/test_locale.py:152–154  ·  view source on GitHub ↗
(self, format, value, out, **format_opts)

Source from the content-addressed store, hash-verified

150 #
151
152 def _test_format_string(self, format, value, out, **format_opts):
153 self.assertEqual(
154 locale.format_string(format, value, **format_opts), out)
155
156 def _test_currency(self, value, out, **format_opts):
157 self.assertEqual(locale.currency(value, **format_opts), out)

Callers 14

test_groupingMethod · 0.80
test_integer_groupingMethod · 0.80
test_simpleMethod · 0.80
test_paddingMethod · 0.80
test_groupingMethod · 0.80
test_decimal_pointMethod · 0.80
test_groupingMethod · 0.80

Calls 1

assertEqualMethod · 0.45

Tested by

no test coverage detected