Files
cpp-thirdparty/winx64/bin/swigwin-4.0.0/Examples/test-suite/python/python_threads_runme.py
2019-08-04 21:38:19 -05:00

12 lines
280 B
Python

from python_threads import *
action = ActionGroup()
count = 1
for child in action.GetActionList():
if child.val != count:
raise RuntimeError(
"Expected: " + str(count) + " got: " + str(child.val))
count = count + 1
# Was seg faulting at the end here