Searched refs:raises (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_pep292.py | 81 raises = self.assertRaises 83 raises(ValueError, s.substitute, dict(who='tim')) 85 raises(ValueError, s.substitute, dict(who='tim')) 87 raises(ValueError, s.substitute, dict(who='tim')) 149 raises = self.assertRaises 162 raises(TypeError, s.substitute, d, {}) 163 raises(TypeError, s.safe_substitute, d, {}) 167 raises = self.assertRaises 172 raises(KeyError, s.substitute) 176 raises(ValueError, s.substitute, dict(gift='bud', who='you'))
|
D | test_gettext.py | 290 raises = self.assertRaises 292 raises(ValueError, gettext.c2py, "os.chmod('/etc/passwd',0777)")
|
D | test_sys_settrace.py | 95 def raises(): function 100 raises()
|
D | test_argparse.py | 237 raises = tester.assertRaises 238 raises(ArgumentParserError, parser.parse_args, args) 2192 raises = self.assertRaises 2193 raises(TypeError, parser.add_mutually_exclusive_group, title='foo') 2199 raises = self.assertRaises 2200 raises(ValueError, add_argument, '--foo', required=True) 2201 raises(ValueError, add_argument, 'bar') 2202 raises(ValueError, add_argument, 'bar', nargs='+') 2203 raises(ValueError, add_argument, 'bar', nargs=1) 2204 raises(ValueError, add_argument, 'bar', nargs=argparse.PARSER)
|
D | test_descr.py | 896 def raises(exc, expected, callable, *args): function 913 raises(TypeError, "duplicate base class A", 915 raises(TypeError, mro_err_msg, 917 raises(TypeError, mro_err_msg, 925 raises(TypeError, mro_err_msg,
|
D | cmath_testcases.txt | 2239 -- rect(x, inf) returns NaN + i NaN and raises the "invalid" 2241 -- rect(inf, inf) returns +-inf + i NaN and raises the "invalid"
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/ |
D | test_email_renamed.py | 1072 raises = self.assertRaises 1078 raises(IndexError, m.get_payload, 2) 2930 raises = self.assertRaises 2933 raises(UnicodeError, Header, x) 2935 raises(UnicodeError, h.append, x) 2960 raises = self.assertRaises 2962 raises(errors.HeaderParseError, decode_header, s)
|
D | test_email.py | 1143 raises = self.assertRaises 1149 raises(IndexError, m.get_payload, 2) 3104 raises = self.assertRaises 3107 raises(UnicodeError, Header, x) 3109 raises(UnicodeError, h.append, x) 3134 raises = self.assertRaises 3136 raises(Errors.HeaderParseError, decode_header, s)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | listsort.txt | 391 proceed by induction). The only tricky bit is that if a comparison raises an
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | listsort.txt | 394 proceed by induction). The only tricky bit is that if a comparison raises an
|