diff options
Diffstat (limited to 'Lib/test/test_builtin.py')
-rw-r--r-- | Lib/test/test_builtin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index 3dd2ffc..65dabb1 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py @@ -1126,7 +1126,8 @@ class BuiltinTest(unittest.TestCase): if i < 0 or i > 2: raise IndexError return i + 4 self.assertEqual(zip(a, I()), t) - self.assertRaises(TypeError, zip) + self.assertEqual(zip(), []) + self.assertEqual(zip(*[]), []) self.assertRaises(TypeError, zip, None) class G: pass |