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

Method test_decimal_point

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

Source from the content-addressed store, hash-verified

286 # Test number formatting with a cooked "fr_FR" locale.
287
288 def test_decimal_point(self):
289 self._test_format_string("%.2f", 12345.67, out='12345,67')
290
291 def test_grouping(self):
292 self._test_format_string("%.2f", 345.67, grouping=True, out='345,67')

Callers

nothing calls this directly

Calls 1

_test_format_stringMethod · 0.80

Tested by

no test coverage detected