code: def test_change_extension_pathlib():
      assert change_extension(lena_path, "jpeg") == lena_path_jpeg
      assert change_extension(lena_path, ".jpeg") == lena_path_jpeg
  
file_path: pytorch-toolbelt/tests/test_filesystem_utils.py
imports: import os.path
  from pathlib import Path
  from pytorch_toolbelt.utils.fs import read_rgb_image, read_image_as_is, change_extension
label_desc: Use image node_id 6 for calling a global function with example usage: test_change_extension_pathlib() without return types