Searched refs:BadSeq (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_resource.py | 164 class BadSeq: class 171 self.assertEqual(resource.prlimit(0, resource.RLIMIT_AS, BadSeq()),
|
D | test_builtin.py | 713 class BadSeq(object): class 718 self.assertRaises(ValueError, list, filter(lambda x: x, BadSeq())) 848 class BadSeq: class 851 self.assertRaises(ValueError, len, BadSeq()) 926 class BadSeq: class 930 self.assertRaises(ValueError, list, map(lambda x: x, BadSeq())) 954 class BadSeq: class 957 self.assertRaises(ValueError, max, BadSeq()) 1008 class BadSeq: class 1011 self.assertRaises(ValueError, min, BadSeq()) [all …]
|
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 | 819 class BadSeq: class 822 self.assertRaises(ValueError, self.reduce, 42, BadSeq())
|
/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())
|