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