Raise statement normalization in Lib/test/.
diff --git a/Lib/test/test_trace.py b/Lib/test/test_trace.py
index 05e6e9e..f67da77 100644
--- a/Lib/test/test_trace.py
+++ b/Lib/test/test_trace.py
@@ -314,7 +314,7 @@
def g(frame, why, extra):
if (why == 'line' and
frame.f_lineno == f.__code__.co_firstlineno + 2):
- raise RuntimeError, "i am crashing"
+ raise RuntimeError("i am crashing")
return g
sys.settrace(g)
@@ -558,7 +558,7 @@
raise
else:
# Something's wrong - the expected exception wasn't raised.
- raise RuntimeError, "Trace-function-less jump failed to fail"
+ raise RuntimeError("Trace-function-less jump failed to fail")
class JumpTestCase(unittest.TestCase):