code: def test_directory_trailing_slash(data_dir):
      assert sorted(fiona.listlayers(data_dir)) == [
          "coutwildrnp",
          "gre",
          "test_tin",
      ]
  
imports: from pathlib import Path
  import os
  import pytest
  import fiona
  import fiona.ogrext
  from fiona.errors import DriverError, FionaDeprecationWarning, FionaValueError
  from fiona.io import ZipMemoryFile
label_desc: Use image node_id 4 for calling a global function with example usage: test_directory_trailing_slash(data_dir) without return types