code: def test_writer_human_format(tmpdir):
      for k, v in _FORMAT_TO_RATIO.items():
          binary_writer = BinaryWriter(tmpdir, chunk_bytes=f"{1}{k}")
          assert binary_writer._chunk_bytes == v
  
      binary_writer = BinaryWriter(tmpdir, chunk_bytes="64MB")
      assert binary_writer._chunk_bytes == 64000000
  
file_path: pytorch-lightning/tests/tests_data/streaming/test_writer.py
imports: import json
  import os
  import sys
  import numpy
  import pytest
  from lightning import seed_everything
  from lightning.data.streaming.reader import BinaryReader
  from lightning.data.streaming.sampler import ChunkedIndex
  from lightning.data.streaming.writer import BinaryWriter
  from lightning.data.utilities.format import _FORMAT_TO_RATIO
  from lightning_utilities.core.imports import RequirementCache
label_desc: Use image node_id 6 for calling a global function with example usage: test_writer_human_format(tmpdir) without return types