/tags/rel-1-3-25/SWIG/Examples/test-suite/python/director_frob_runme.py

# · Python · 7 lines · 5 code · 2 blank · 0 comment · 1 complexity · 6fd4fee7d21e9af8a9515fb82fc77dcc MD5 · raw file

  1. from director_frob import *
  2. foo = Bravo();
  3. s = foo.abs_method();
  4. if s != "Bravo::abs_method()":
  5. raise RuntimeError, s