From 0fb34cb019359ceb53e4ec49628bb7ba91a2a2c4 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Wed, 1 Oct 2014 07:57:23 +0100 Subject: Disable test not relevant for Python -builtin --- Examples/test-suite/python/python_append_runme.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Examples/test-suite/python/python_append_runme.py') 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") -- cgit v1.2.1