code: def test_filesystem_loader_overlapping_names(self, filesystem_loader):
      res = os.path.dirname(filesystem_loader.searchpath[0])
      t2_dir = os.path.join(res, "templates2")
      # Make "foo" show up before "foo/test.html".
      filesystem_loader.searchpath.insert(0, t2_dir)
      e = Environment(loader=filesystem_loader)
      e.get_template("foo")
      # This would raise NotADirectoryError if "t2/foo" wasn't skipped.
      e.get_template("foo/test.html")
  
imports: import os
  import shutil
  import sys
  import tempfile
  import time
  import weakref
  import pytest
  from jinja2 import Environment
  from jinja2 import loaders
  from jinja2._compat import PY2
  from jinja2._compat import PYPY
  from jinja2.exceptions import TemplateNotFound
  from jinja2.loaders import split_template_path
  import yatest.common
label_desc: Use image node_id 3 for calling the TestLoaders obj's underlying member method code with example usage: obj.test_filesystem_loader_overlapping_names(filesystem_loader) without return types