PageRenderTime 40ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/python/rename_pcre_encoder_runme.py

#
Python | 13 lines | 10 code | 3 blank | 0 comment | 1 complexity | ae7117a0c835a135d9ed6bb87ade0333 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. from rename_pcre_encoder import *
  2. s = SomeWidget()
  3. s.putBorderWidth(3)
  4. if s.getBorderWidth() != 3:
  5. raise RuntimeError("Border should be 3, not %d" % (s.getBorderWidth(),))
  6. s.putSize(4, 5)
  7. a = AnotherWidget()
  8. a.DoSomething()
  9. evt = wxEVTSomeEvent()
  10. t = xUnchangedName()