]> granicus.if.org Git - python/commitdiff
add test of bastion and rexec to std regression test suite
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 19 Jan 2001 03:22:48 +0000 (03:22 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 19 Jan 2001 03:22:48 +0000 (03:22 +0000)
Lib/test/output/test_bastion [new file with mode: 0644]
Lib/test/test_bastion.py [new file with mode: 0644]

diff --git a/Lib/test/output/test_bastion b/Lib/test/output/test_bastion
new file mode 100644 (file)
index 0000000..a983936
--- /dev/null
@@ -0,0 +1,10 @@
+test_bastion
+b.total() = 99
+b.sum = inaccessible
+b._add = inaccessible
+b._get_.func_defaults = [<type 'function'>] accessible
+==================== Using rexec: ====================
+b.total() = 198
+b.sum = inaccessible
+b._add = inaccessible
+b._get_.func_defaults = inaccessible
diff --git a/Lib/test/test_bastion.py b/Lib/test/test_bastion.py
new file mode 100644 (file)
index 0000000..0a1ded7
--- /dev/null
@@ -0,0 +1,3 @@
+import Bastion
+
+Bastion._test()