Searched refs:testformat (Results 1 - 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
H A Dtest_format.py14 def testformat(formatstr, args, output=None, limit=None, overflowok=False): function
53 testformat(formatstr, args, output, limit, overflowok)
70 testformat(b_format, b_args, b_output, limit, overflowok)
71 testformat(ba_format, b_args, ba_output, limit, overflowok)
250 testformat("%r", "\u0378", "'\\u0378'") # non printable
251 testformat("%a", "\u0378", "'\\u0378'") # non printable
252 testformat("%r", "\u0374", "'\u0374'") # printable
253 testformat("%a", "\u0374", "'\\u0374'") # printable
260 testformat(formatstr, args)
339 testformat(formatst
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_format.py13 def testformat(formatstr, args, output=None, limit=None, overflowok=False): function
50 testformat(formatstr, *args, **kwargs)
52 testformat(unicode(formatstr), *args, **kwargs)
234 testformat('%g', 1.1, '1.1')
235 testformat('%#g', 1.1, '1.10000')
245 testformat("%x", fst, '0')
246 testformat(u"%x", fst, '0')
254 testformat(formatstr, args)
/external/icu/icu4c/source/test/intltest/
H A Dtmsgfmt.cpp1730 UnicodeString testformat("{argument, plural, one{C''est # fichier} other {Ce sont # fichiers}} dans la liste.");
1731 MessageFormat *msgfmt = new MessageFormat(testformat, Locale("fr"), status);

Completed in 101 milliseconds