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