You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
269 B
17 lines
269 B
# 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")
|
|
d.index("AdvancedTimer")
|
|
|
|
print(cexample.add_ints(1, 3))
|
|
|