From afcd61388ae5d56b3e3821f39976e2b214d2f27f Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 2 Oct 2014 20:23:08 +0100 Subject: Bypass Python tests not supported by -builtin The old static syntax (e.g., dc.new_A() rather than dc.A()) is not supported with -builtin --- Examples/test-suite/python/default_constructor_runme.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Examples/test-suite/python/default_constructor_runme.py') diff --git a/Examples/test-suite/python/default_constructor_runme.py b/Examples/test-suite/python/default_constructor_runme.py index 59b130559..e6532031b 100644 --- a/Examples/test-suite/python/default_constructor_runme.py +++ b/Examples/test-suite/python/default_constructor_runme.py @@ -1,8 +1,10 @@ +import _default_constructor + # This test is expected to fail with -builtin option. # It uses the old static syntax (e.g., dc.new_A() rather than dc.A()), # which is not provided with the -builtin option. - -import _default_constructor +if _default_constructor.is_python_builtin(): + exit(0) dc = _default_constructor -- cgit v1.2.1