summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/python_append_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/python_append_runme.py')
-rw-r--r--Examples/test-suite/python/python_append_runme.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/Examples/test-suite/python/python_append_runme.py b/Examples/test-suite/python/python_append_runme.py
index 41cebad58..54d7a3e00 100644
--- a/Examples/test-suite/python/python_append_runme.py
+++ b/Examples/test-suite/python/python_append_runme.py
@@ -1,11 +1,16 @@
from python_append import *
+
+# test not relevant for -builtin
+if is_python_builtin():
+ exit(0)
+
t=Test()
t.func()
t.static_func()
if grabpath() != os.path.dirname(mypath):
- raise RuntimeError
+ raise RuntimeError("grabpath failed")
if grabstaticpath() != os.path.basename(mypath):
- raise RuntimeError
+ raise RuntimeError("grabstaticpath failed")