MCPcopy
hub / github.com/tornadoweb/tornado / test_friendly_number

Method test_friendly_number

tornado/test/locale_test.py:144–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

142 )
143
144 def test_friendly_number(self):
145 locale = tornado.locale.get("en_US")
146 self.assertEqual(locale.friendly_number(1000000), "1,000,000")
147
148 def test_list(self):
149 locale = tornado.locale.get("en_US")

Callers

nothing calls this directly

Calls 2

friendly_numberMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected