MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_localize

Method test_localize

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

Source from the content-addressed store, hash-verified

672class TestEnUSLocalize(EnUSCookedTest, BaseLocalizeTest):
673
674 def test_localize(self):
675 self._test_localize('50000.00', '50000.00')
676 self._test_localize(
677 '{0:.16f}'.format(Decimal('1.15')), '1.1500000000000000')
678
679
680class 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