code: def test_ignore_missing_paths(
      self, ray_start_regular_shared, ignore_missing_paths
  ):
      paths = [
          "example://image-datasets/simple/image1.jpg",
          "example://missing.jpg",
          "example://image-datasets/missing/",
      ]
  
      if ignore_missing_paths:
          ds = ray.data.read_images(
              paths, ignore_missing_paths=ignore_missing_paths
          )
          # example:// directive redirects to /ray/python/ray/data/examples/data
          assert len(ds.input_files()) == 1 and ds.input_files()[
              0
          ].endswith(
              "ray/data/examples/data/image-datasets/simple/image1.jpg",
          )
      else:
          with pytest.raises(FileNotFoundError):
              ds = ray.data.read_images(
                  paths, ignore_missing_paths=ignore_missing_paths
              )
              ds.materialize()
  
imports: import os
  import tempfile
  from typing import Dict
  import numpy
  import pyarrow
  import pytest
  from fsspec.implementations.local import LocalFileSystem
  from PIL import Image
  import ray
  from ray.data.datasource import Partitioning
  from ray.data.datasource.file_meta_provider import FastFileMetadataProvider
  from ray.data.datasource.image_datasource import ImageDatasource, _ImageFileMetadataProvider
  from ray.data.extensions import ArrowTensorType
  from ray.data.tests.conftest import *
  from ray.data.tests.mock_http_server import *
  from ray.tests.conftest import *
label_desc: Use image node_id 5 for calling the TestReadImages obj's underlying member method code with example usage: obj.test_ignore_missing_paths(ray_start_regular_shared, ignore_missing_paths) without return types