swig/Examples/test-suite/python/operbool_runme.py
William S Fulton cc7319f52f Replace assert from Python testcases with code that always runs.
assert code is sometimes not executed, eg when running python -O.
2016-06-19 20:11:51 +01:00

4 lines
100 B
Python

#!/usr/bin/env python
import operbool
if operbool.Test():
raise RuntimeError("operbool failed")