code: def test_incorrect_msg_interpolation():
      with assert_raises(TypeError) as cme:
          TestUtils2().__call__()
      # this must be our custom exception
      assert_re_in(
          "Failed to render.*kaboom.*not enough arguments",
          str(cme.value),
      )
  
      # there should be no exception if reported in the record path contains %
      TestUtils2().__call__("%eatthis")
  
imports: import logging
  import re
  from contextlib import contextmanager
  from os.path import exists
  from os.path import join
  from time import sleep
  from datalad.distribution.dataset import Dataset, EnsureDataset, datasetmethod
  from datalad.interface.base import build_doc, eval_results
  from datalad.support.constraints import EnsureKeyChoice, EnsureNone, EnsureStr
  from datalad.support.param import Parameter
  from datalad.tests.utils_pytest import assert_dict_equal, assert_equal, assert_in, assert_not_equal, assert_not_in, assert_raises, assert_re_in, assert_repo_status, assert_result_count, assert_true, ok_, slow, with_tempfile, with_tree
  from datalad.utils import swallow_logs, swallow_outputs
  from ..base import Interface
  from ..results import get_status_dict
  from ..utils import discover_dataset_trace_to_targets, handle_dirty_dataset
label_desc: Use image node_id 11 for calling a global function with example usage: test_incorrect_msg_interpolation() without return types