code: def test_compact_incorrect_indptr():
      seeds = torch.tensor([1, 3, 5, 2, 6, 7])
      indptr = torch.tensor([0, 2, 4, 6, 7, 11])
      indices = torch.tensor([2, 3, 1, 4, 5, 2, 5, 1, 4, 4, 6])
      csc_formats = gb.CSCFormatBase(indptr=indptr, indices=indices)
  
      # The number of seeds is not corresponding to indptr.
      with pytest.raises(AssertionError):
          gb.compact_csc_format(csc_formats, seeds)
  
file_path: dgl/tests/python/pytorch/graphbolt/test_graphbolt_utils.py
imports: import backend
  import dgl.graphbolt
  import pytest
  import torch
label_desc: Use image node_id 12 for calling a global function with example usage: test_compact_incorrect_indptr() without return types