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

Method test_grouping

Lib/test/test_locale.py:278–279  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

276 # Test number formatting with a cooked "C" locale.
277
278 def test_grouping(self):
279 self._test_format_string("%.2f", 12345.67, grouping=True, out='12345.67')
280
281 def test_grouping_and_padding(self):
282 self._test_format_string("%9.2f", 12345.67, grouping=True, out=' 12345.67')

Callers

nothing calls this directly

Calls 1

_test_format_stringMethod · 0.80

Tested by

no test coverage detected