code: def test_batchify():
      x = list(range(1, 5))
      assert batchify(x, 2, False) == [[1, 2], [3, 4]]
  
imports: import pytest
  from chitra.data_processing import DataProcessor, batchify
label_desc: Use image node_id 4 for calling a global function with example usage: test_batchify() without return types