summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-03-21 16:44:39 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-03-21 16:44:39 (GMT)
commit5c7a2513ec277c6c4f5ab4f44b461aeb17a850c4 (patch)
treef1df576a88b5bebe26d5fd50f7c0d77c19092363 /Lib/test/output
parent220ae7c0bf2054ad01f58e1cf669ac069eb9a574 (diff)
downloadcpython-5c7a2513ec277c6c4f5ab4f44b461aeb17a850c4.zip
cpython-5c7a2513ec277c6c4f5ab4f44b461aeb17a850c4.tar.gz
cpython-5c7a2513ec277c6c4f5ab4f44b461aeb17a850c4.tar.bz2
Add tests for recent changes:
- global stmt in class does not affect free vars in methods - locals() works with free and cell vars
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_scope2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/output/test_scope b/Lib/test/output/test_scope
index b00f9f5..af7fe31 100644
--- a/Lib/test/output/test_scope
+++ b/Lib/test/output/test_scope
@@ -15,3 +15,5 @@ test_scope
14. complex definitions
15. scope of global statements
16. check leaks
+17. class and global
+18. verify that locals() works