summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/python_threads_runme.py
blob: 74cd0552b8f16876093d58c5b61f93339db8e08b (plain)
1
2
3
4
5
6
7
8
9
10
11
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