/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

  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()