summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/import_nomodule_runme.py
blob: e43c233b493dd46bf0baecda529ce57a0b106e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)