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
|
@ -15,7 +15,7 @@ class TracebackCases(unittest.TestCase):
|
|||
except exc as value:
|
||||
return traceback.format_exception_only(exc, value)
|
||||
else:
|
||||
raise ValueError, "call did not raise exception"
|
||||
raise ValueError("call did not raise exception")
|
||||
|
||||
def syntax_error_with_caret(self):
|
||||
compile("def fact(x):\n\treturn x!\n", "?", "exec")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue