summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/li_implicit_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/li_implicit_runme.py')
-rw-r--r--Examples/test-suite/python/li_implicit_runme.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Examples/test-suite/python/li_implicit_runme.py b/Examples/test-suite/python/li_implicit_runme.py
index d8dd0fdcc..5d5c6caa0 100644
--- a/Examples/test-suite/python/li_implicit_runme.py
+++ b/Examples/test-suite/python/li_implicit_runme.py
@@ -9,8 +9,8 @@ ad, get(ad)
ab, get(ab)
if get(ai) != get(1):
- raise RuntimeError, "bad implicit type"
+ raise RuntimeError("bad implicit type")
if get(ad) != get(2.0):
- raise RuntimeError, "bad implicit type"
+ raise RuntimeError("bad implicit type")
if get(ab) != get(b):
- raise RuntimeError, "bad implicit type"
+ raise RuntimeError("bad implicit type")