swig/Examples/test-suite/python/fvirtual_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

8 lines
119 B
Python

from fvirtual import *
sw = NodeSwitch()
n = Node()
i = sw.addChild(n)
if i != 2:
raise RuntimeError, "addChild"