Searched refs:checkraises (Results 1 – 4 of 4) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | string_tests.py | 68 def checkraises(self, exc, object, methodname, *args): member in CommonTest 99 self.checkraises(TypeError, 'hello', 'capitalize', 42) 131 self.checkraises(TypeError, 'hello', 'count') 132 self.checkraises(TypeError, 'hello', 'count', 42) 177 self.checkraises(TypeError, 'hello', 'find') 178 self.checkraises(TypeError, 'hello', 'find', 42) 232 self.checkraises(TypeError, 'hello', 'rfind') 233 self.checkraises(TypeError, 'hello', 'rfind', 42) 268 self.checkraises(ValueError, 'abcdefghiabc', 'index', 'hib') 269 self.checkraises(ValueError, 'abcdefghiab', 'index', 'abc', 1) [all …]
|
D | test_string.py | 19 def checkraises(self, exc, object, methodname, *args): member in StringTest 43 self.checkraises(TypeError, ['a', unicode('b'), 3], 'join', '.') 52 self.checkraises(TypeError, string_tests.BadSeq1(), 'join', ' ')
|
D | test_userstring.py | 32 def checkraises(self, exc, object, methodname, *args): member in UserStringTest
|
D | test_unicode.py | 306 self.checkraises(TypeError, 'abc', 'isdecimal', 42)
|