code: def test_crdedupe_split_chunk():
      fp = CRDedupeFilePolicy()
      answer = [
          (
              "2020-08-25T20:38:36.895321 ",
              "this is my line of text\nsecond line\n",
          ),
          (
              "ERROR 2020-08-25T20:38:36.895321 ",
              "this is my line of text\nsecond line\n",
          ),
      ]
      test_data = [
          "2020-08-25T20:38:36.895321 this is my line of text\nsecond line\n",
          "ERROR 2020-08-25T20:38:36.895321 this is my line of text\nsecond line\n",
      ]
      for i, data in enumerate(test_data):
          c = Chunk(data=data)
          prefix, rest = fp.split_chunk(c)
          assert prefix == answer[i][0]
          assert rest == answer[i][1]
  
file_path: wandb/tests/pytest_tests/unit_tests/test_file_stream.py
imports: import itertools
  import os
  import random
  import string
  from dataclasses import dataclass
  from wandb import util
  from wandb.sdk.internal.file_stream import CRDedupeFilePolicy
  from wandb.sdk.lib.file_stream_utils import split_files
label_desc: Use image node_id 3 for calling a global function with example usage: test_crdedupe_split_chunk() without return types