[Python-checkins] r61090 - python/trunk/Lib/test/test_itertools.py

raymond.hettinger python-checkins at python.org
Wed Feb 27 02:08:31 CET 2008


Author: raymond.hettinger
Date: Wed Feb 27 02:08:30 2008
New Revision: 61090

Modified:
   python/trunk/Lib/test/test_itertools.py
Log:
Larger test range

Modified: python/trunk/Lib/test/test_itertools.py
==============================================================================
--- python/trunk/Lib/test/test_itertools.py	(original)
+++ python/trunk/Lib/test/test_itertools.py	Wed Feb 27 02:08:30 2008
@@ -59,7 +59,7 @@
         self.assertRaises(ValueError, combinations, 'abc', 32)  # r is too big
         self.assertEqual(list(combinations(range(4), 3)),
                                            [(0,1,2), (0,1,3), (0,2,3), (1,2,3)])
-        for n in range(6):
+        for n in range(8):
             values = [5*x-12 for x in range(n)]
             for r in range(n+1):
                 result = list(combinations(values, r))


More information about the Python-checkins mailing list