/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_format.py | 241 def test_exc(formatstr, args, exception, excmsg):
function in function:FormatTest.test_format 258 test_exc('abc %a', 1, ValueError,
261 test_exc(unicode('abc %\u3000','raw-unicode-escape'), 1, ValueError,
264 test_exc('%d', '1', TypeError, "%d format: a number is required, not str")
265 test_exc('%g', '1', TypeError, "float argument required, not str")
266 test_exc('no format', '1', TypeError,
268 test_exc('no format', u'1', TypeError,
270 test_exc(u'no format', '1', TypeError,
272 test_exc(u'no format', u'1', TypeError,
280 test_exc('%o', Foobar(), TypeError, [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_format.py | 251 def test_exc(formatstr, args, exception, excmsg): function in function:FormatTest.test_format 268 test_exc('abc %a', 1, ValueError, 271 test_exc(unicode('abc %\u3000','raw-unicode-escape'), 1, ValueError, 274 test_exc('%d', '1', TypeError, "%d format: a number is required, not str") 275 test_exc('%g', '1', TypeError, "float argument required, not str") 276 test_exc('no format', '1', TypeError, 278 test_exc('no format', u'1', TypeError, 280 test_exc(u'no format', '1', TypeError, 282 test_exc(u'no format', u'1', TypeError, 290 test_exc('%o', Foobar(), TypeError [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_format.py | 251 def test_exc(formatstr, args, exception, excmsg): function in function:FormatTest.test_format 268 test_exc('abc %a', 1, ValueError, 271 test_exc(unicode('abc %\u3000','raw-unicode-escape'), 1, ValueError, 274 test_exc('%d', '1', TypeError, "%d format: a number is required, not str") 275 test_exc('%g', '1', TypeError, "float argument required, not str") 276 test_exc('no format', '1', TypeError, 278 test_exc('no format', u'1', TypeError, 280 test_exc(u'no format', '1', TypeError, 282 test_exc(u'no format', u'1', TypeError, 290 test_exc('%o', Foobar(), TypeError [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_format.py | 251 def test_exc(formatstr, args, exception, excmsg): function in function:FormatTest.test_format 268 test_exc('abc %a', 1, ValueError, 271 test_exc(unicode('abc %\u3000','raw-unicode-escape'), 1, ValueError, 274 test_exc('%d', '1', TypeError, "%d format: a number is required, not str") 275 test_exc('%g', '1', TypeError, "float argument required, not str") 276 test_exc('no format', '1', TypeError, 278 test_exc('no format', u'1', TypeError, 280 test_exc(u'no format', '1', TypeError, 282 test_exc(u'no format', u'1', TypeError, 290 test_exc('%o', Foobar(), TypeError [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_format.py | 251 def test_exc(formatstr, args, exception, excmsg): function in function:FormatTest.test_format 268 test_exc('abc %a', 1, ValueError, 271 test_exc(unicode('abc %\u3000','raw-unicode-escape'), 1, ValueError, 274 test_exc('%d', '1', TypeError, "%d format: a number is required, not str") 275 test_exc('%g', '1', TypeError, "float argument required, not str") 276 test_exc('no format', '1', TypeError, 278 test_exc('no format', u'1', TypeError, 280 test_exc(u'no format', '1', TypeError, 282 test_exc(u'no format', u'1', TypeError, 290 test_exc('%o', Foobar(), TypeError [all...] |