diff options
Diffstat (limited to 'Lib/test/test_iter.py')
-rw-r--r-- | Lib/test/test_iter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_iter.py b/Lib/test/test_iter.py index b92c50a..07a3bf2 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))) |