Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
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/python/cpython3/Lib/test/
Dtest_format.py15 def testformat(formatstr, args, output=None, limit=None, overflowok=False): function
54 testformat(formatstr, args, output, limit, overflowok)
71 testformat(b_format, b_args, b_output, limit, overflowok)
72 testformat(ba_format, b_args, ba_output, limit, overflowok)
76 testformat(formatstr, args)
287 testformat("%r", "\u0378", "'\\u0378'") # non printable
288 testformat("%a", "\u0378", "'\\u0378'") # non printable
289 testformat("%r", "\u0374", "'\u0374'") # printable
290 testformat("%a", "\u0374", "'\\u0374'") # printable
397 testformat("a%sb", ('c\0d',), 'ac\0db')
[all …]
/external/icu/icu4c/source/test/intltest/
Dtmsgfmt.cpp1733 …UnicodeString testformat("{argument, plural, one{C''est # fichier} other {Ce sont # fichiers}} dan… in testCoverage() local
1734 MessageFormat *msgfmt = new MessageFormat(testformat, Locale("fr"), status); in testCoverage()