Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/python/python_threads_runme.py
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06: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