summaryrefslogtreecommitdiff
path: root/trunk/Examples/test-suite/python/using_protected_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/Examples/test-suite/python/using_protected_runme.py')
-rw-r--r--trunk/Examples/test-suite/python/using_protected_runme.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/trunk/Examples/test-suite/python/using_protected_runme.py b/trunk/Examples/test-suite/python/using_protected_runme.py
new file mode 100644
index 000000000..525a1cde4
--- /dev/null
+++ b/trunk/Examples/test-suite/python/using_protected_runme.py
@@ -0,0 +1,7 @@
+from using_protected import *
+
+f = FooBar()
+f.x = 3
+
+if f.blah(4) != 4:
+ raise RuntimeError, "blah(int)"