swig/Examples/test-suite/python/director_comparison_operators_runme.py
William S Fulton d4ffa46f41 Convert python tests using 2to3
These tests were converted using 2to3 and should be valid using
Python 2.7 and Python 3+.
2020-08-15 00:16:04 +01:00

11 lines
170 B
Python

import director_comparison_operators
class PyFoo(director_comparison_operators.Foo):
pass
a = PyFoo()
if a.test() != "a=1,b=2":
raise RuntimeError(a.test())