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

Method test_localize

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

Source from the content-addressed store, hash-verified

770class TestEnUSLocalize(EnUSCookedTest, BaseLocalizeTest):
771
772 def test_localize(self):
773 self._test_localize('50000.00', '50000.00')
774 self._test_localize(
775 '{0:.16f}'.format(Decimal('1.15')), '1.1500000000000000')
776
777
778class TestCLocalize(CCookedTest, BaseLocalizeTest):

Callers

nothing calls this directly

Calls 3

DecimalClass · 0.90
_test_localizeMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected