summaryrefslogtreecommitdiff
path: root/trunk/Examples/test-suite/python/template_extend1_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/Examples/test-suite/python/template_extend1_runme.py')
-rw-r--r--trunk/Examples/test-suite/python/template_extend1_runme.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/trunk/Examples/test-suite/python/template_extend1_runme.py b/trunk/Examples/test-suite/python/template_extend1_runme.py
new file mode 100644
index 000000000..b4679513a
--- /dev/null
+++ b/trunk/Examples/test-suite/python/template_extend1_runme.py
@@ -0,0 +1,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