Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_resource.py164 class BadSeq: class
171 self.assertEqual(resource.prlimit(0, resource.RLIMIT_AS, BadSeq()),
Dtest_builtin.py713 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 …]
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.py819 class BadSeq: class
822 self.assertRaises(ValueError, self.reduce, 42, BadSeq())
/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())