Home
last modified time | relevance | path

Searched refs:LenOnly (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_heapq.py247 class LenOnly: class
362 self.assertRaises((TypeError, AttributeError), f, LenOnly())
364 self.assertRaises((TypeError, AttributeError), f, LenOnly(), 10)
366 self.assertRaises(TypeError, f, 2, LenOnly())
Dtest_bisect.py245 class LenOnly: class
274 self.assertRaises(TypeError, f, LenOnly(), 10)
/external/python/cpython2/Lib/test/
Dtest_heapq.py235 class LenOnly: class
349 self.assertRaises((TypeError, AttributeError), f, LenOnly())
351 self.assertRaises((TypeError, AttributeError), f, LenOnly(), 10)
353 self.assertRaises(TypeError, f, 2, LenOnly())
Dtest_bisect.py271 class LenOnly: class
297 self.assertRaises(AttributeError, f, LenOnly(), 10)