code: def test_create_oversized_chunk_single_item(tmp_path):
      cache = Cache(str(tmp_path), chunk_bytes=700)
      with pytest.warns(
          UserWarning,
          match="An item was larger than the target chunk size",
      ):
          cache[0] = np.random.randint(
              0, 10, size=(10000,), dtype=np.uint8
          )
  
imports: import json
  import os
  import sys
  from functools import partial
  import numpy
  import pytest
  import torch
  from lightning import seed_everything
  from lightning.data.streaming import Cache
  from lightning.data.streaming.dataloader import CacheDataLoader
  from lightning.data.streaming.dataset import StreamingDataset
  from lightning.data.streaming.item_loader import TokensLoader
  from lightning.data.streaming.serializers import Serializer
  from lightning.data.utilities.env import _DistributedEnv
  from lightning.fabric import Fabric
  from lightning.pytorch.demos.boring_classes import RandomDataset
  from lightning_utilities.core.imports import RequirementCache
  from lightning_utilities.test.warning import no_warning_call
  from torch.utils.data import Dataset
label_desc: Use image node_id 7 for calling a global function with example usage: test_create_oversized_chunk_single_item(tmp_path) without return types