def test_unusedVariableAsLocals():
    flakes('''
    def a():
        b = 1
        return locals()
    ''')
User should be sent to threads if they have subscriptions.
dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_unusedVariableAsLocals--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/welcome/tests.py/WelcomeViewTest.test_redirects_to_threads_if_authenticated_and_user_has_groups