From 3add4d78ff9f5de02e2c0de09efe9a9b5317539f Mon Sep 17 00:00:00 2001 From: Collin Winter Date: Wed, 29 Aug 2007 23:37:32 +0000 Subject: Raise statement normalization in Lib/test/. --- Lib/test/test_iter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_iter.py') diff --git a/Lib/test/test_iter.py b/Lib/test/test_iter.py index b92c50aad7..07a3bf2e23 100644 --- a/Lib/test/test_iter.py +++ b/Lib/test/test_iter.py @@ -825,7 +825,7 @@ class TestCase(unittest.TestCase): i = state[0] state[0] = i+1 if i == 10: - raise AssertionError, "shouldn't have gotten this far" + raise AssertionError("shouldn't have gotten this far") return i b = iter(spam, 5) self.assertEqual(list(b), list(range(5))) -- cgit v1.2.1