original_docstring: Filter the test files based in input from the user
  
          Args:
              file_info (dict): Information about test files on disk, where the key is the
                  base name of the file and the value is the relative path to the file
              files_filter (set): A collection of files to filter tests on
  
          Returns:
              dict: A modified version of the `file_info` arg with pared down values
          
docstring: Filter the test files based in input from the user
docstring_tokens: Filter the test files based in input from the user
code: def _filter_files(self, file_info, files_filter):
          """Filter the test files based in input from the user
  
          Args:
              file_info (dict): Information about test files on disk, where the key is the
                  base name of the file and the value is the relative path to the file
              files_filter (set): A collection of files to filter tests on
  
          Returns:
              dict: A modified version of the `file_info` arg with pared down values
          """
          if not files_filter:
              return file_info
  
          files_filter = {os.path.splitext(name)[0] for name in files_filter}
  
          file_info = {name: path for name, path in file_info.iteritems()
                       if os.path.splitext(name)[0] in files_filter}
  
          filter_diff = set(files_filter).difference(set(file_info))
          message_template = 'No test events file found with base name \'{}\''
          for missing_file in filter_diff:
              self.status_messages.append(
                  StatusMessage(StatusMessage.WARNING, message_template.format(missing_file)))
  
          return file_info
code_tokens: def _filter_files ( self , file_info , files_filter ) : if not files_filter : return file_info files_filter = { os . path . splitext ( name ) [ 0 ] for name in files_filter } file_info = { name : path for name , path in file_info . iteritems ( ) if os . path . splitext ( name ) [ 0 ] in files_filter } filter_diff = set ( files_filter ) . difference ( set ( file_info ) ) message_template = 'No test events file found with base name \'{}\'' for missing_file in filter_diff : self . status_messages . append ( StatusMessage ( StatusMessage . WARNING , message_template . format ( missing_file ) ) ) return file_info
short_docstring: Filter the test files based in input from the user
short_docstring_tokens: Filter the test files based in input from the user
comment: """Filter the test files based in input from the user
  
          Args:
              file_info (dict): Information about test files on disk, where the key is the
                  base name of the file and the value is the relative path to the file
              files_filter (set): A collection of files to filter tests on
  
          Returns:
              dict: A modified version of the `file_info` arg with pared down values
          """