code: def test_strip_dot_txt_suffix(self):
      self.assertEqual(strip_suffix("file.txt", ".txt"), "file")
      self.assertEqual(
          strip_suffix("/path/file.txt", ".txt"), "/path/file"
      )
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.utils import *
  from .None import ACTIVATIONS_PATH, ANNOTATIONS_PATH, AUDIO_PATH, DATA_PATH, DETECTIONS_PATH
  from .test_evaluation_notes import ANNOTATIONS
label_desc: Use image node_id 2 for calling the TestStripSuffixFunction obj's underlying member method code with example usage: obj.test_strip_dot_txt_suffix() without return types