code: def pytest_internalerror(self, excrepr):
      reprcrash = getattr(excrepr, "reprcrash", None)
      path = getattr(reprcrash, "path", None)
      if path is None:
          path = "cwd:%s" % py.path.local()
      self.write_log_entry(path, "!", str(excrepr))
  
file_path: catboost/contrib/python/pytest/py2/_pytest/resultlog.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import py
label_desc: Use image node_id 6 for calling the ResultLog obj's underlying member method code with example usage: obj.pytest_internalerror(excrepr) without return types