code: def test_streaming_response_retrieve_content(
      self, client: OpenAI
  ) -> None:
      with pytest.warns(DeprecationWarning):
          with client.files.with_streaming_response.retrieve_content(
              "string",
          ) as response:
              assert not response.is_closed
              assert (
                  response.http_request.headers.get("X-Stainless-Lang")
                  == "python"
              )
  
              file = response.parse()
              assert_matches_type(str, file, path=["response"])
  
      assert cast(Any, response.is_closed) is True
  
imports: from __future__ import annotations
  import os
  from typing import Any, cast
  import httpx
  import pytest
  from respx import MockRouter
  import openai._legacy_response
  from openai import OpenAI, AsyncOpenAI
  from tests.utils import assert_matches_type
  from openai.types import FileObject, FileDeleted
  from openai._client import OpenAI, AsyncOpenAI
  from openai.pagination import SyncPage, AsyncPage
label_desc: Use image node_id 22 for calling the TestFiles obj's underlying member method code with example usage: obj.test_streaming_response_retrieve_content(client) without return types