code: def test_csc_format_base_incorrect_indptr():
      indptr = torch.tensor([0, 2, 4, 6, 7, 11])
      indices = torch.tensor([2, 3, 1, 4, 5, 2, 5, 1, 4, 4])
      with pytest.raises(AssertionError):
          # The value of last element in indptr is not corresponding to indices.
          csc_formats = gb.CSCFormatBase(indptr=indptr, indices=indices)
  
file_path: dgl/tests/python/pytorch/graphbolt/test_base.py
imports: import re
  import unittest
  from collections.abc import Iterable, Mapping
  import backend
  import dgl.graphbolt
  import pytest
  import torch
  from .None import gb_test_utils
label_desc: Use image node_id 9 for calling a global function with example usage: test_csc_format_base_incorrect_indptr() without return types