swig/Examples/test-suite/python/python_pythoncode_runme.py

10 lines
337 B
Python

import python_pythoncode
# No need to actually do anything, this is a regression test for a bug which
# caused an invalid python_pythoncode.py to be generated, so if we can import
# it the bug is still fixed.
# A later test enhancement checking __new__ requires some code...
f = python_pythoncode.get_foo()
f = python_pythoncode.Foo()