code: def test_meta_schedule_design_space_generator_NIE():
      @derived_object
      class TestPySpaceGenerator(PySpaceGenerator):
          def __init__(self):
              super().__init__()
              self.sch_rules = []
              self.postprocs = []
              self.mutator_probs = {}
  
      with pytest.raises(
          TVMError,
          match="PySpaceGenerator's InitializeWithTuneContext method not implemented!",
      ):
          generator = TestPySpaceGenerator()
          generator._initialize_with_tune_context(TuneContext())
  
file_path: tvm/tests/python/meta_schedule/test_meta_schedule_space_generator.py
imports: import math
  import pytest
  import tvm
  import tvm.testing
  from tvm._ffi.base import TVMError
  from tvm.meta_schedule.space_generator import PySpaceGenerator, ScheduleFn, SpaceGeneratorUnion
  from tvm.meta_schedule.tune_context import TuneContext
  from tvm.meta_schedule.utils import derived_object
  from tvm.script import tir
  from tvm.tir.schedule import Schedule
label_desc: Use image node_id 5 for calling a global function with example usage: test_meta_schedule_design_space_generator_NIE() without return types