code: def _check_record_param_type(param, v):
      """Used by record_testsuite_property to check that the given parameter name is of the proper
      type"""
      __tracebackhide__ = True
      if not isinstance(v, six.string_types):
          msg = "{param} parameter needs to be a string, but {g} given"
          raise TypeError(msg.format(param=param, g=type(v).__name__))
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import os
  import platform
  import re
  import sys
  import time
  from datetime import datetime
  import py
  import six
  import pytest
  from _pytest import nodes
  from _pytest.config import filename_arg
label_desc: Use image node_id 6 for calling a global function with example usage: _check_record_param_type(param, v) without return types