Searched refs:_test_format_string (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_locale.py | 153 def _test_format_string(self, format, value, out, **format_opts): member in BaseFormattingTest 206 self._test_format_string("One million is %i", 1000000, grouping=1, 208 self._test_format_string("One million is %i", 1000000, grouping=1, 211 self._test_format_string(".%f.", 1000.0, out='.1000.000000.') 214 self._test_format_string("--> %10.2f", 4200, grouping=1, 217 self._test_format_string("%10.*f", (2, 1000), grouping=0, 220 self._test_format_string("%*.*f", (10, 2, 1000), grouping=1, 224 self._test_format_string("int %i float %.2f str %s",
|
/external/python/cpython3/Lib/test/ |
D | test_locale.py | 151 def _test_format_string(self, format, value, out, **format_opts): member in BaseFormattingTest 208 self._test_format_string("One million is %i", 1000000, grouping=1, 210 self._test_format_string("One million is %i", 1000000, grouping=1, 213 self._test_format_string(".%f.", 1000.0, out='.1000.000000.') 216 self._test_format_string("--> %10.2f", 4200, grouping=1, 219 self._test_format_string("%10.*f", (2, 1000), grouping=0, 222 self._test_format_string("%*.*f", (10, 2, 1000), grouping=1, 226 self._test_format_string("int %i float %.2f str %s",
|