code: def test_record_collection_slicing(records):
      subset = records[:2]
      assert isinstance(subset, RecordCollection)
  
file_path: icevision/tests/data/test_record_collection.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 6 for calling a global function with example usage: test_record_collection_slicing(records) without return types