1 2 3 4 5 6 7 8 9 10
import template_extend1 a = template_extend1.lBaz() b = template_extend1.dBaz() if a.foo() != "lBaz::foo": raise RuntimeError if b.foo() != "dBaz::foo": raise RuntimeError