code: def test_make_dataset_no_valid_files(
      tmpdir, kwargs, expected_error_msg
  ):
      tmpdir = pathlib.Path(tmpdir)
  
      (tmpdir / "a").mkdir()
      (tmpdir / "a" / "a.png").touch()
  
      (tmpdir / "b").mkdir()
      (tmpdir / "b" / "b.jpeg").touch()
  
      (tmpdir / "c").mkdir()
      (tmpdir / "c" / "c.unknown").touch()
  
      with pytest.raises(FileNotFoundError, match=expected_error_msg):
          make_dataset(str(tmpdir), **kwargs)
  
imports: import contextlib
  import gzip
  import os
  import pathlib
  import re
  import tarfile
  import zipfile
  import pytest
  import torch
  import torchvision.datasets.utils
  from common_utils import assert_equal
  from torch._utils_internal import get_file_path_2
  from torchvision.datasets.folder import make_dataset
  from torchvision.datasets.utils import _COMPRESSED_FILE_OPENERS
label_desc: Use image node_id 2 for calling a global function with example usage: test_make_dataset_no_valid_files(tmpdir, kwargs, expected_error_msg) without return types