code: def test_file_type_match(file_type, ds_file_type, exp_result):
      """Test that file type matching uses exactly equality."""
      fh = FakeFileHandler(
          "some_file.txt", {}, {"file_type": file_type}
      )
      assert fh.file_type_matches(ds_file_type) is exp_result
  
file_path: satpy/satpy/tests/test_file_handlers.py
imports: import unittest
  from datetime import datetime, timedelta
  from unittest import mock
  import numpy
  import pytest
  from satpy.readers.file_handlers import BaseFileHandler, open_dataset
  from satpy.tests.utils import FakeFileHandler
label_desc: Use image node_id 2 for calling a global function with example usage: test_file_type_match(file_type, ds_file_type, exp_result) without return types