[Python-checkins] CVS: python/dist/src/Lib/test test_symtable.py,NONE,1.1
Jeremy Hylton
jhylton@users.sourceforge.net
Fri, 02 Feb 2001 10:24:28 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv27995/Lib/test
Added Files:
test_symtable.py
Log Message:
Add minimal interface to symtable: _symtable module.
--- NEW FILE: test_symtable.py ---
from test_support import verify
import _symtable
symbols, scopes = _symtable.symtable("def f(x): return x", "?", "exec")
verify(symbols.has_key(0))
verify(scopes.has_key(0))