append(): Fixing the test for convertability after consultation with
[python/dscho.git] / Lib / test / test_symtable.py
blob44f156e8bf8c691f428f6824e4795c994420efe2
1 from test.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)