Lines Matching refs:length_hint
1990 self.assertEqual(operator.length_hint(repeat(None, 50)), 50)
1991 self.assertEqual(operator.length_hint(repeat(None, 0)), 0)
1992 self.assertEqual(operator.length_hint(repeat(None), 12), 12)
1995 self.assertEqual(operator.length_hint(repeat(None, -1)), 0)
1996 self.assertEqual(operator.length_hint(repeat(None, -2)), 0)
1997 self.assertEqual(operator.length_hint(repeat(None, times=-1)), 0)
1998 self.assertEqual(operator.length_hint(repeat(None, times=-2)), 0)