Searched refs:checkraises (Results 1 - 8 of 8) sorted by relevance

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dstring_tests.py69 def checkraises(self, exc, object, methodname, *args): member in class:CommonTest
100 self.checkraises(TypeError, 'hello', 'capitalize', 42)
132 self.checkraises(TypeError, 'hello', 'count')
133 self.checkraises(TypeError, 'hello', 'count', 42)
178 self.checkraises(TypeError, 'hello', 'find')
179 self.checkraises(TypeError, 'hello', 'find', 42)
233 self.checkraises(TypeError, 'hello', 'rfind')
234 self.checkraises(TypeError, 'hello', 'rfind', 42)
269 self.checkraises(ValueError, 'abcdefghiabc', 'index', 'hib')
270 self.checkraises(ValueErro
[all...]
H A Dtest_string.py19 def checkraises(self, exc, object, methodname, *args): member in class:StringTest
43 self.checkraises(TypeError, ['a', unicode('b'), 3], 'join', '.')
52 self.checkraises(TypeError, string_tests.BadSeq1(), 'join', ' ')
H A Dtest_userstring.py32 def checkraises(self, exc, object, methodname, *args): member in class:UserStringTest
H A Dtest_unicode.py389 self.checkraises(TypeError, 'abc', 'isdecimal', 42)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dstring_tests.py69 def checkraises(self, exc, object, methodname, *args): member in class:CommonTest
100 self.checkraises(TypeError, 'hello', 'capitalize', 42)
132 self.checkraises(TypeError, 'hello', 'count')
133 self.checkraises(TypeError, 'hello', 'count', 42)
178 self.checkraises(TypeError, 'hello', 'find')
179 self.checkraises(TypeError, 'hello', 'find', 42)
233 self.checkraises(TypeError, 'hello', 'rfind')
234 self.checkraises(TypeError, 'hello', 'rfind', 42)
269 self.checkraises(ValueError, 'abcdefghiabc', 'index', 'hib')
270 self.checkraises(ValueErro
[all...]
H A Dtest_string.py19 def checkraises(self, exc, object, methodname, *args): member in class:StringTest
43 self.checkraises(TypeError, ['a', unicode('b'), 3], 'join', '.')
52 self.checkraises(TypeError, string_tests.BadSeq1(), 'join', ' ')
H A Dtest_userstring.py32 def checkraises(self, exc, object, methodname, *args): member in class:UserStringTest
H A Dtest_unicode.py389 self.checkraises(TypeError, 'abc', 'isdecimal', 42)

Completed in 117 milliseconds