summaryrefslogtreecommitdiff
path: root/trunk/Examples/test-suite/python/rename_scope_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/Examples/test-suite/python/rename_scope_runme.py')
-rw-r--r--trunk/Examples/test-suite/python/rename_scope_runme.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/trunk/Examples/test-suite/python/rename_scope_runme.py b/trunk/Examples/test-suite/python/rename_scope_runme.py
new file mode 100644
index 000000000..faea6a84d
--- /dev/null
+++ b/trunk/Examples/test-suite/python/rename_scope_runme.py
@@ -0,0 +1,12 @@
+from rename_scope import *
+
+a = Natural_UP()
+b = Natural_BP()
+
+if a.rtest() != 1:
+ raise RuntimeError
+
+if b.rtest() != 1:
+ raise RuntimeError
+
+f = equals