mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Raise statement normalization in Lib/test/.
This commit is contained in:
parent
e0281cab81
commit
3add4d78ff
47 changed files with 218 additions and 218 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue