code: def test_deepcopy():
      """Tests that deepcopy works with the ``SplitDataset``."""
      dataset = list(range(100))
      train_ds, val_ds = DataModule._split_train_val(
          dataset, val_split=0.1
      )
      deepcopy(train_ds)
  
file_path: lightning-flash/tests/core/data/test_splits.py
imports: from copy import deepcopy
  import numpy
  import pytest
  from flash.core.data.data_module import DataModule
  from flash.core.data.splits import SplitDataset
  from flash.core.utilities.imports import _TOPIC_CORE_AVAILABLE
label_desc: Use image node_id 3 for calling a global function with example usage: test_deepcopy() without return types