Searched refs:BadExc (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | list_tests.py | 304 class BadExc(Exception): class 310 raise BadExc() 314 self.assertRaises(BadExc, a.remove, BadCmp()) 318 raise BadExc() 331 self.assertRaises(BadExc, d.remove, 'c') 344 class BadExc(Exception): class 350 raise BadExc() 353 self.assertRaises(BadExc, a.count, BadCmp()) 372 class BadExc(Exception): class 378 raise BadExc() [all …]
|
D | seq_tests.py | 354 class BadExc(Exception): class 360 raise BadExc() 363 self.assertRaises(BadExc, a.count, BadCmp()) 382 class BadExc(Exception): class 388 raise BadExc() 392 self.assertRaises(BadExc, a.index, BadCmp())
|
/external/python/cpython3/Lib/test/ |
D | seq_tests.py | 361 class BadExc(Exception): class 367 raise BadExc() 370 self.assertRaises(BadExc, a.count, BadCmp()) 394 class BadExc(Exception): class 400 raise BadExc() 404 self.assertRaises(BadExc, a.index, BadCmp())
|
D | list_tests.py | 347 class BadExc(Exception): class 353 raise BadExc() 357 self.assertRaises(BadExc, a.remove, BadCmp()) 361 raise BadExc() 374 self.assertRaises(BadExc, d.remove, 'c')
|
D | test_range.py | 283 class BadExc(Exception): class 289 raise BadExc() 293 self.assertRaises(BadExc, a.index, BadCmp())
|