PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Python | 8 lines | 4 code | 1 blank | 3 comment | 1 complexity | 343ccb27b33bb7ed98943cbd56a06dee MD5 | raw file
1from virtual_derivation import *
2#
3# very innocent example
4#
5b = B(3)
6if b.get_a() != b.get_b():
7  raise RuntimeError, "something is really wrong"
8