code: def test_batch_info_flag_default():
      batch_size = 5
      cb_int = BatchCb(False, batch_size, 1)
      yield _test_batch_info_flag_default, cb_int, batch_size
      cb_batch_info = BatchCb(True, batch_size, 1)
      yield raises(
          AssertionError, "Expected BatchInfo instance as cb argument"
      )(_test_batch_info_flag_default), cb_batch_info, batch_size
  
imports: import random
  import nvidia.dali.fn
  import nvidia.dali.ops
  import nvidia.dali.types
  import numpy
  from nvidia.dali import Pipeline, pipeline_def
  from test_utils import check_batch
  from nose_utils import raises, assert_warns, assert_raises
  from nvidia.dali.types import DALIDataType
  from numpy.random import default_rng
label_desc: Use image node_id 9 for calling a global function with example usage: test_batch_info_flag_default() without return types