'test that combination assignment/expressions
of the same identifier log the ident as \'undeclared\''

def test_locate_identifiers_3(self):

    code = '\nx    =    x    +    5\nfor    y    in    range(1,    y):\n                ("hi",)\n[z    for    z    in    range(1,    z)]\n(q    for    q    in    range    (1,    q))\n'
    parsed = ast.PythonCode(code, **exception_kwargs)
    eq_(parsed.undeclared_identifiers, set(['x', 'y', 'z', 'q', 'range']))
