def test_withStatementUndefinedInside(self):
        self.flakes('''
        from __future__ import with_statement
        with open('foo') as bar:
            baz
        ''', m.UndefinedName)
An undefined name warning is emitted if a name is used inside the
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_other.py/Python25Test.test_withStatementUndefinedInside