code: def filesystem_loader():
      """returns FileSystemLoader initialized to res/templates directory"""
      import yatest.common
  
      here = Path(yatest.common.test_source_path())
      return loaders.FileSystemLoader(here / "res" / "templates")
  
file_path: catboost/contrib/python/Jinja2/py3/tests/conftest.py
imports: from pathlib import Path
  import pytest
  from jinja2 import loaders
  from jinja2.environment import Environment
label_desc: Use image node_id 4 for calling a global function with example usage: filesystem_loader() and returns: loaders