def test_withStatementNoNames():
    flakes('''
    from __future__ import with_statement
    bar = None
    with open("foo"):
        bar
    bar
    ''')
No warnings are emitted for using inside or after a nameless  statement a name defined beforehand.
dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_withStatementNoNames