HomeSort by relevance Sort by last modified time
    Searched refs:test_exc (Results 1 - 2 of 2) sorted by null

  /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...]

Completed in 211 milliseconds