code: def test_case_insensitive_filesystems():
      # Make sure BASE_DIR is project root.
      # If it doesn't, we probably computed the wrong directory.
      if not os.path.isdir(os.path.join(BASE_DIR, "tensorflow_addons")):
          raise AssertionError(
              "BASE_DIR = {} is not project root".format(BASE_DIR)
          )
  
      for dirpath, dirnames, filenames in os.walk(
          BASE_DIR, followlinks=True
      ):
          lowercase_directories = [x.lower() for x in dirnames]
          lowercase_files = [x.lower() for x in filenames]
  
          lowercase_dir_contents = (
              lowercase_directories + lowercase_files
          )
          if len(lowercase_dir_contents) != len(
              set(lowercase_dir_contents)
          ):
              raise AssertionError(
                  "Files with same name but different case detected "
                  "in directory: {}".format(dirpath)
              )
  
file_path: addons/tools/testing/source_code_test.py
imports: import glob
  import os
  from typedapi import ensure_api_is_typed
  import importlib
  import tensorflow_addons
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: test_case_insensitive_filesystems() without return types