Home
last modified time | relevance | path

Searched refs:BadSeq (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_builtin.py460 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 …]
Dtest_dict.py242 class BadSeq(object): class
248 self.assertRaises(Exc, dict.fromkeys, BadSeq())
Dmapping_tests.py475 class BadSeq(object): class
481 self.assertRaises(Exc, self.type2test.fromkeys, BadSeq())
/external/python/cpython3/Lib/test/
Dtest_builtin.py634 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 …]
Dtest_resource.py161 class BadSeq: class
168 self.assertEqual(resource.prlimit(0, resource.RLIMIT_AS, BadSeq()),
Dmapping_tests.py456 class BadSeq(object): class
462 self.assertRaises(Exc, self.type2test.fromkeys, BadSeq())
Dtest_dict.py247 class BadSeq(object): class
253 self.assertRaises(Exc, dict.fromkeys, BadSeq())
Dtest_functools.py804 class BadSeq: class
807 self.assertRaises(ValueError, self.func, 42, BadSeq())