summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/director_extend_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/director_extend_runme.py')
-rw-r--r--Examples/test-suite/python/director_extend_runme.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/test-suite/python/director_extend_runme.py b/Examples/test-suite/python/director_extend_runme.py
index a5aad8245..870443d1f 100644
--- a/Examples/test-suite/python/director_extend_runme.py
+++ b/Examples/test-suite/python/director_extend_runme.py
@@ -17,6 +17,6 @@ class MyObject(SpObject):
m = MyObject()
if m.dummy() != 666:
- raise RuntimeError, "1st call"
+ raise RuntimeError("1st call")
if m.dummy() != 666: # Locked system
- raise RuntimeError, "2nd call"
+ raise RuntimeError("2nd call")