swig/Examples/test-suite/python/import_nomodule_runme.py
William S Fulton ab79441151 Bypass Python tests not supported by -builtin
The base class is needed for the builtin class hierarchy, like many
other languages
2014-10-07 20:58:40 +01:00

13 lines
245 B
Python

from import_nomodule import *
# This test is expected to fail with -builtin option.
# The base class is needed for the builtin class hierarchy
if is_python_builtin():
exit(0)
f = create_Foo()
test1(f,42)
delete_Foo(f)
b = Bar()
test1(b,37)