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