[Python-checkins] CVS: python/dist/src/Lib/test/output test_scope,1.5,1.6
Jeremy Hylton
jhylton@users.sourceforge.net
Wed, 21 Mar 2001 08:44:41 -0800
Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv32524/output
Modified Files:
test_scope
Log Message:
Add tests for recent changes:
- global stmt in class does not affect free vars in methods
- locals() works with free and cell vars
Index: test_scope
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_scope,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** test_scope 2001/03/13 02:01:12 1.5
--- test_scope 2001/03/21 16:44:39 1.6
***************
*** 16,17 ****
--- 16,19 ----
15. scope of global statements
16. check leaks
+ 17. class and global
+ 18. verify that locals() works