Home
last modified time | relevance | path

Searched refs:BadExc (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dlist_tests.py304 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 …]
Dseq_tests.py354 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/
Dseq_tests.py361 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())
Dlist_tests.py347 class BadExc(Exception): class
353 raise BadExc()
357 self.assertRaises(BadExc, a.remove, BadCmp())
361 raise BadExc()
374 self.assertRaises(BadExc, d.remove, 'c')
Dtest_range.py283 class BadExc(Exception): class
289 raise BadExc()
293 self.assertRaises(BadExc, a.index, BadCmp())