code: def test_lytro_illum_raw_format(test_images):
      """
      Test basic read/write properties of LytroRawFormat
      """
      # Get test images
      lfr_file = test_images / LFR_FILENAME
      raw_illum_file = test_images / RAW_ILLUM_FILENAME
      lfp_file = test_images / LFP_FILENAME
      raw_f01_file = test_images / RAW_F0_FILENAME
      png_file = test_images / PNG_FILENAME
  
      # Test lytro raw format
      format = iio.formats["lytro-illum-raw"]
      assert format.name == "LYTRO-ILLUM-RAW"
      assert format.__module__.endswith("lytro")
  
      # Test can read, cannot write
      assert format.can_read(Request(raw_illum_file, "ri"))
  
      # Test cannot read, cannot write
      assert not format.can_write(Request(raw_illum_file, "wi"))
      assert not format.can_write(Request(lfr_file, "wi"))
      assert not format.can_write(Request(lfp_file, "wi"))
      assert not format.can_write(Request(raw_f01_file, "wi"))
      assert not format.can_write(Request(png_file, "wi"))
  
file_path: imageio/tests/test_lytro.py
imports: from __future__ import division
  import numpy
  import json
  import pytest
  import imageio.v2
  from imageio.core import Request
  from conftest import deprecated_test
label_desc: Use image node_id 2 for calling a global function with example usage: test_lytro_illum_raw_format(test_images) without return types