code: def test_get_fi_lib(vendored_lib, tmp_userdir):
      from imageio.plugins._freeimage import get_freeimage_lib
  
      add = core.appdata_dir("imageio")
      os.makedirs(add, exist_ok=True)
      shutil.copytree(vendored_lib, os.path.join(add, "freeimage"))
  
      lib = get_freeimage_lib()
      assert os.path.isfile(lib)
  
imports: import os
  import shutil
  import sys
  import platform
  import warnings
  import fsspec
  import imageio.plugins
  import imageio.v3
  import imageio.v2
  import numpy
  import pytest
  from imageio import core
  from imageio.core import IS_PYPY
  from pytest import raises
  from conftest import deprecated_test
label_desc: Use image node_id 7 for calling a global function with example usage: test_get_fi_lib(vendored_lib, tmp_userdir) without return types