code: def test_s3_drive_raises_error_telling_users_to_use_mounts():
      with pytest.raises(
          ValueError,
          match="Using S3 buckets in a Drive is no longer supported.",
      ):
          Drive("s3://foo/")
  
imports: import os
  import pathlib
  from copy import deepcopy
  from time import sleep
  import pytest
  from deepdiff import DeepDiff
  from lightning.app import LightningFlow, LightningWork
  from lightning.app.core.app import LightningApp
  from lightning.app.runners import MultiProcessRuntime
  from lightning.app.storage.drive import Drive, _maybe_create_drive
  from lightning.app.utilities.component import _set_flow_context
label_desc: Use image node_id 6 for calling a global function with example usage: test_s3_drive_raises_error_telling_users_to_use_mounts() without return types