summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-08 16:06:20 (GMT)
committerGuido van Rossum <guido@python.org>1997-09-08 16:06:20 (GMT)
commitc8bf884248e58f0d61ac020c60be01b048c60b2b (patch)
treec95f66f157fa3d857f176b8156f0d3d29e2d1fb7 /Lib/test/output
parente632380b558d696fb0d2c4e7d28a82d439b76df0 (diff)
downloadcpython-c8bf884248e58f0d61ac020c60be01b048c60b2b.zip
cpython-c8bf884248e58f0d61ac020c60be01b048c60b2b.tar.gz
cpython-c8bf884248e58f0d61ac020c60be01b048c60b2b.tar.bz2
Added test for __all__.
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_pkg7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/output/test_pkg b/Lib/test/output/test_pkg
index b1033c1..4cb503e 100644
--- a/Lib/test/output/test_pkg
+++ b/Lib/test/output/test_pkg
@@ -29,3 +29,10 @@ t5.string loading
['__builtins__', '__doc__', '__file__', '__name__', '__path__', 'foo', 'string', 't5']
['__builtins__', '__doc__', '__file__', '__name__', 'string']
['__builtins__', '__doc__', '__file__', '__name__', 'spam']
+running test t6
+['__all__', '__builtins__', '__doc__', '__file__', '__name__', '__path__']
+t6.spam loading
+t6.ham loading
+t6.eggs loading
+['__all__', '__builtins__', '__doc__', '__file__', '__name__', '__path__', 'eggs', 'ham', 'spam']
+['eggs', 'ham', 'spam', 't6']