PageRenderTime 35ms CodeModel.GetById 10ms RepoModel.GetById 1ms app.codeStats 0ms

/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
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. from director_frob import *
  2. foo = Bravo();
  3. s = foo.abs_method();
  4. if s != "Bravo::abs_method()":
  5. raise RuntimeError, s