code: def test_file_pattern(reader):
      """Test file pattern matching."""
      filenames = [
          "CTXin20040120091500305SVMSG01MD.nc",
          "CTXin20040120093000305SVMSG01MD.nc",
          "CTXin20040120094500305SVMSG01MD.nc",
          "abcde52034294023489248MVSSG03DD.nc",
      ]
  
      files = reader.select_files_from_pathnames(filenames)
      # only 3 out of 4 above should match
      assert len(files) == 3
  
imports: import datetime
  import os
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 8 for calling a global function with example usage: test_file_pattern(reader) without return types