code: def test_type_to_id_with_ntype_exception(ntypes):
      with pytest.raises(AssertionError):
          gb.fused_csc_sampling_graph(
              None,
              None,
              node_type_to_id=ntypes,
              edge_type_to_id={"e1": 1},
          )
  
imports: import os
  import pickle
  import re
  import tempfile
  import unittest
  import backend
  import dgl
  import dgl.graphbolt
  import pytest
  import torch
  import torch.multiprocessing
  from dgl.graphbolt.base import etype_str_to_tuple
  from scipy import sparse
  from ..None import gb_test_utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_type_to_id_with_ntype_exception(ntypes) without return types