/trunk/Examples/test-suite/python/using_private_runme.py
Python | 13 lines | 9 code | 4 blank | 0 comment | 3 complexity | 0552692bcf0b1b431e788179f69bdd3b MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- from using_private import *
- f = FooBar()
- f.x = 3
- if f.blah(4) != 4:
- raise RuntimeError, "blah(int)"
- if f.defaulted() != -1:
- raise RuntimeError, "defaulted()"
- if f.defaulted(222) != 222:
- raise RuntimeError, "defaulted(222)"