def test_withStatementSingleNameRedefined():
    flakes('''
    from __future__ import with_statement
    import bar
    with open('foo') as bar:
        pass
    ''', m.RedefinedWhileUnused)
Add an existing worksheet (at an optional index).
dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_withStatementSingleNameRedefined--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/tablib-0.10.0/tablib/packages/openpyxl/workbook.py/Workbook.add_sheet