code: def pytest_unconfigure(config):
      resultlog = getattr(config, "_resultlog", None)
      if resultlog:
          resultlog.logfile.close()
          del config._resultlog
          config.pluginmanager.unregister(resultlog)
  
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 3 for calling a global function with example usage: pytest_unconfigure(config) without return types