From: Raymond Hettinger Date: Tue, 2 Sep 2003 04:19:02 +0000 (+0000) Subject: Fix failing test X-Git-Tag: v2.3.1~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6437a618b1e4c6b56a5cee75b290eecd4d72251d;p=thirdparty%2FPython%2Fcpython.git Fix failing test --- diff --git a/Lib/test/test_itertools.py b/Lib/test/test_itertools.py index 057b576e49de..3f6c9d258d53 100644 --- a/Lib/test/test_itertools.py +++ b/Lib/test/test_itertools.py @@ -87,7 +87,7 @@ class TestBasicOps(unittest.TestCase): self.assertEqual(list(izip('abcdef', range(3))), zip('abcdef', range(3))) self.assertEqual(take(3,izip('abcdef', count())), zip('abcdef', range(3))) self.assertEqual(list(izip('abcdef')), zip('abcdef')) - self.assertEqual(list(izip()), zip()) + self.assertEqual(list(izip()), []) self.assertRaises(TypeError, izip, 3) self.assertRaises(TypeError, izip, range(3), 3) # Check tuple re-use (implementation detail)