Home
last modified time | relevance | path

Searched refs:checkraises (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dstring_tests.py68 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 …]
Dtest_string.py19 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', ' ')
Dtest_userstring.py32 def checkraises(self, exc, object, methodname, *args): member in UserStringTest
Dtest_unicode.py306 self.checkraises(TypeError, 'abc', 'isdecimal', 42)