Searched refs:BadSeq (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_builtin.py | 460 class BadSeq(object): class 465 self.assertRaises(ValueError, filter, lambda x: x, BadSeq()) 714 class BadSeq: class 717 self.assertRaises(ValueError, len, BadSeq()) 790 class BadSeq: class 793 self.assertRaises(ValueError, map, lambda x: x, BadSeq()) 845 class BadSeq: class 848 self.assertRaises(ValueError, min, BadSeq()) 1211 class BadSeq: class 1214 self.assertRaises(ValueError, reduce, 42, BadSeq()) [all …]
|
D | test_dict.py | 242 class BadSeq(object): class 248 self.assertRaises(Exc, dict.fromkeys, BadSeq())
|
D | mapping_tests.py | 475 class BadSeq(object): class 481 self.assertRaises(Exc, self.type2test.fromkeys, BadSeq())
|
/external/python/cpython3/Lib/test/ |
D | test_builtin.py | 634 class BadSeq(object): class 639 self.assertRaises(ValueError, list, filter(lambda x: x, BadSeq())) 769 class BadSeq: class 772 self.assertRaises(ValueError, len, BadSeq()) 847 class BadSeq: class 851 self.assertRaises(ValueError, list, map(lambda x: x, BadSeq())) 875 class BadSeq: class 878 self.assertRaises(ValueError, max, BadSeq()) 927 class BadSeq: class 930 self.assertRaises(ValueError, min, BadSeq()) [all …]
|
D | test_resource.py | 161 class BadSeq: class 168 self.assertEqual(resource.prlimit(0, resource.RLIMIT_AS, BadSeq()),
|
D | mapping_tests.py | 456 class BadSeq(object): class 462 self.assertRaises(Exc, self.type2test.fromkeys, BadSeq())
|
D | test_dict.py | 247 class BadSeq(object): class 253 self.assertRaises(Exc, dict.fromkeys, BadSeq())
|
D | test_functools.py | 804 class BadSeq: class 807 self.assertRaises(ValueError, self.func, 42, BadSeq())
|