code: def test_numpy_read_ignore_missing_paths(
      ray_start_regular_shared, tmp_path, ignore_missing_paths
  ):
      path = os.path.join(tmp_path, "test_np_dir")
      os.mkdir(path)
      np.save(
          os.path.join(path, "test.npy"),
          np.expand_dims(np.arange(0, 10), 1),
      )
  
      paths = [
          os.path.join(path, "test.npy"),
          "missing.npy",
      ]
  
      if ignore_missing_paths:
          ds = ray.data.read_numpy(
              paths, ignore_missing_paths=ignore_missing_paths
          )
          assert ds.input_files() == [paths[0]]
      else:
          with pytest.raises(FileNotFoundError):
              ds = ray.data.read_numpy(
                  paths, ignore_missing_paths=ignore_missing_paths
              )
              ds.materialize()
  
imports: import os
  import numpy
  import pandas
  import pyarrow
  import pytest
  from pytest_lazyfixture import lazy_fixture
  import ray
  from ray.data.datasource import BaseFileMetadataProvider, FastFileMetadataProvider, Partitioning, PartitionStyle, PathPartitionFilter
  from ray.data.tests.conftest import *
  from ray.data.tests.mock_http_server import *
  from ray.data.tests.test_partitioning import PathPartitionEncoder
  from ray.data.tests.util import Counter, extract_values
  from ray.tests.conftest import *
label_desc: Use image node_id 7 for calling a global function with example usage: test_numpy_read_ignore_missing_paths(ray_start_regular_shared, tmp_path, ignore_missing_paths) without return types