swig/Examples/test-suite/python/python_threads_runme.py
Jon Schlueter b77f3afafb autopep8 cleanup of Examples/test-suite/python
automated cleanup of python pep8 whitespace compliance
2015-05-08 21:35:52 -04:00

11 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