commit | 7ae5f294658caaf4de4afabbc779317cca0217da | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Tue Sep 05 02:30:10 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Tue Sep 05 02:30:10 2006 +0000 |
tree | cdfd534ecbc67e4f357d2ee10024301fac1f963c | |
parent | 29a5fdb7caf372144a085247d63440d1abb51b5c [diff] |
Backport fix for SF bug #1550714, itertools.tee raises SystemError
diff --git a/Lib/test/test_itertools.py b/Lib/test/test_itertools.py index 4b631dd..6898725 100644 --- a/Lib/test/test_itertools.py +++ b/Lib/test/test_itertools.py
@@ -371,6 +371,7 @@ # test values of n self.assertRaises(TypeError, tee, 'abc', 'invalid') + self.assertRaises(ValueError, tee, [], -1) for n in xrange(5): result = tee('abc', n) self.assertEqual(type(result), tuple)