code: def test_fits_format(test_images):
      # Test selection
      for name in ["fits", ".fits"]:
          format = iio.formats["fits"]
          assert format.name == "FITS"
          assert format.__module__.endswith(".fits")
  
      # Test cannot read
      png = test_images / "chelsea.png"
      assert not format.can_read(Request(png, "ri"))
      assert not format.can_write(Request(png, "wi"))
  
file_path: imageio/tests/test_fits.py
imports: import pytest
  import imageio.v2
  from imageio.core import Request
  import numpy
  from conftest import deprecated_test
label_desc: Use image node_id 4 for calling a global function with example usage: test_fits_format(test_images) without return types