code: def makeitraise():
      def raise_valueerror():
          try:
              raise_runtimeerror()
          except Exception as e:
              raise ValueError from e
  
      def raise_runtimeerror():
          raise RuntimeError("Mike")
  
      try:
          raise_valueerror()
      except Exception as e:
          raise RuntimeError from e
  
imports: from unittest.mock import patch
  from datalad import cfg
  from datalad.support.exceptions import CapturedException, format_exception_with_cause
  from datalad.tests.utils_pytest import assert_equal, assert_re_in, assert_true
label_desc: Use image node_id 2 for calling a global function with example usage: makeitraise() without return types