'When called with decode_unicode, Response.iter_content should always
return unicode.'

def test_response_decode_unicode(self):

    r = requests.Response()
    r._content_consumed = True
    r._content = 'the    content'
    r.encoding = 'ascii'
    chunks = r.iter_content(decode_unicode=True)
    assert all((isinstance(chunk, str) for chunk in chunks))
    r = requests.Response()
    r.raw = io.BytesIO('the    content')
    r.encoding = 'ascii'
    chunks = r.iter_content(decode_unicode=True)
    assert all((isinstance(chunk, str) for chunk in chunks))
