diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-03-30 09:50:10 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-03-30 09:50:10 -0400 |
commit | 5b301d551b3cd0add34048bd40c8c88718b02f0e (patch) | |
tree | b3f9eaae72c136c18051e95d2c9ac25516ecb704 /test/test_ast.py | |
parent | 6e7ad2da8279152468de43482ac1cf453bc1a2df (diff) | |
download | external_python_mako-5b301d551b3cd0add34048bd40c8c88718b02f0e.tar.gz external_python_mako-5b301d551b3cd0add34048bd40c8c88718b02f0e.tar.bz2 external_python_mako-5b301d551b3cd0add34048bd40c8c88718b02f0e.zip |
remove this test per ben's request
Diffstat (limited to 'test/test_ast.py')
-rw-r--r-- | test/test_ast.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/test_ast.py b/test/test_ast.py index 60ad6ec..c9c400e 100644 --- a/test/test_ast.py +++ b/test/test_ast.py @@ -189,21 +189,7 @@ def x(q): eq_(parsed.declared_identifiers, set(['x'])) eq_(parsed.undeclared_identifiers, set()) - def test_locate_identifiers_12(self): - code = """ -class ContextManager(object): - def __enter__(self): - return 1 - def __exit__(self, exc_type, exc_value, traceback): - pass -with ContextManager() as x, ContextManager(): - print x -""" - parsed = ast.PythonCode(code, **exception_kwargs) - eq_(parsed.declared_identifiers, set(['ContextManager', 'x'])) - eq_(parsed.undeclared_identifiers, set()) - def test_no_global_imports(self): code = """ |