code: def test_saving_dependencies(opt_dep):
      """Tests that the alibi_detect.saving module correctly protects against uninstalled optional dependencies."""
      dependency_map = defaultdict(lambda: ["default"])
      for dependency, relations in []:
          dependency_map[dependency] = relations
      from alibi_detect import saving
  
      check_correct_dependencies(saving, dependency_map, opt_dep)
  
file_path: alibi-detect/alibi_detect/tests/test_dep_management.py
imports: from types import ModuleType
  from collections import defaultdict
label_desc: Use image node_id 14 for calling a global function with example usage: test_saving_dependencies(opt_dep) without return types