Updated for 2.1b2 distribution.
[python/dscho.git] / Lib / test / test_symtable.py
blob56d772ea4553af90bafae306ba2d2ca0dabf295f
1 from test_support import verify
3 import _symtable
5 symbols = _symtable.symtable("def f(x): return x", "?", "exec")
7 verify(symbols[0].name == "global")
8 verify(len([ste for ste in symbols.values() if ste.name == "f"]) == 1)