summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/using_private_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/using_private_runme.py')
-rw-r--r--Examples/test-suite/python/using_private_runme.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Examples/test-suite/python/using_private_runme.py b/Examples/test-suite/python/using_private_runme.py
index 00c9a8d25..9e0a15f12 100644
--- a/Examples/test-suite/python/using_private_runme.py
+++ b/Examples/test-suite/python/using_private_runme.py
@@ -4,10 +4,10 @@ f = FooBar()
f.x = 3
if f.blah(4) != 4:
- raise RuntimeError, "blah(int)"
+ raise RuntimeError("blah(int)")
if f.defaulted() != -1:
- raise RuntimeError, "defaulted()"
+ raise RuntimeError("defaulted()")
if f.defaulted(222) != 222:
- raise RuntimeError, "defaulted(222)"
+ raise RuntimeError("defaulted(222)")