summaryrefslogtreecommitdiffstatshomepage
path: root/tests/misc/cexample_module.py
blob: c1da2ecf7ab249ef6ca0e5ffb8d56a7c8057117d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# test custom builtin module

try:
    import cexample
except ImportError:
    print("SKIP")
    raise SystemExit

print(cexample)
print(cexample.__name__)

d = dir(cexample)
d.index("add_ints")
d.index("Timer")

print(cexample.add_ints(1, 3))