code: def test_read_empty_dir(tmp_path):
      # Test that no format is found, but no error is raised
      request = core.Request(tmp_path, "ri")
      assert iio.formats.search_read_format(request) is None
  
file_path: imageio/tests/test_dicom.py
imports: from zipfile import ZipFile
  import numpy
  import pytest
  import imageio.v2
  import imageio.v3
  from imageio import core
  import imageio.plugins.dicom
  from conftest import deprecated_test
label_desc: Use image node_id 2 for calling a global function with example usage: test_read_empty_dir(tmp_path) without return types