mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +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
|
@ -177,7 +177,7 @@ class ScopeTests(unittest.TestCase):
|
|||
if x >= 0:
|
||||
return fact(x)
|
||||
else:
|
||||
raise ValueError, "x must be >= 0"
|
||||
raise ValueError("x must be >= 0")
|
||||
|
||||
self.assertEqual(f(6), 720)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue