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

Method test_integer_grouping

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

Source from the content-addressed store, hash-verified

179 out=('-4%s200' % self.sep).ljust(10))
180
181 def test_integer_grouping(self):
182 self._test_format_string("%d", 4200, grouping=True, out='4%s200' % self.sep)
183 self._test_format_string("%+d", 4200, grouping=True, out='+4%s200' % self.sep)
184 self._test_format_string("%+d", -4200, grouping=True, out='-4%s200' % self.sep)
185
186 def test_integer_grouping_and_padding(self):
187 self._test_format_string("%10d", 4200, grouping=True,

Callers

nothing calls this directly

Calls 1

_test_format_stringMethod · 0.80

Tested by

no test coverage detected