/tags/rel-1.3.35/Examples/test-suite/python/grouping_runme.py
# · Python · 13 lines · 9 code · 4 blank · 0 comment · 2 complexity · 4142cbcc086a688526e76da8ca10cf09 MD5 · raw file
- import grouping
- x = grouping.test1(42)
- if x != 42:
- raise RuntimeError
- grouping.test2(42)
- x = grouping.do_unary(37, grouping.NEGATE)
- if x != -37:
- raise RuntimeError
- grouping.cvar.test3 = 42