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

17 lines
253 B
Python

# This is the import runtime testcase.
import imports_b
import imports_a
import sys
x = imports_b.B()
imports_a.A.hello(x)
a = imports_a.A()
c = imports_b.C()
a1 = c.get_a(c)
a2 = c.get_a_type(c)
if a1.hello() != a2.hello():
raise RuntimeError