def test_unusedVariable_asLocals(self):
        self.flakes('''
        def a():
            b = 1
            return locals()
        ''')
Using locals() it is perfectly valid to have unused variables
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_other.py/TestUnusedAssignment.test_unusedVariable_asLocals