def test_withStatementAttributeName(self):
        self.flakes('''
        from __future__ import with_statement
        import foo
        with open('foo') as foo.bar:
            pass
        ''')
No warnings are emitted for using an attribute as the target of a
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_other.py/Python25Test.test_withStatementAttributeName