code: def testExtractDrumTracksTooLongDiscard(self):
      music_testing_lib.add_track_to_sequence(
          self.note_sequence,
          0,
          [
              (12, 127, 2, 4),
              (14, 50, 6, 15),
              (14, 50, 10, 15),
              (16, 100, 14, 19),
              (14, 100, 18, 19),
          ],
          is_drum=True,
      )
      quantized_sequence = sequences_lib.quantize_note_sequence(
          self.note_sequence, steps_per_quarter=1
      )
      drum_tracks, _ = drum_pipelines.extract_drum_tracks(
          quantized_sequence,
          min_bars=1,
          max_steps_discard=18,
          gap_bars=1,
      )
      drum_tracks = [list(drums) for drums in drum_tracks]
      self.assertEqual([], drum_tracks)
  
file_path: magenta/magenta/pipelines/drum_pipelines_test.py
imports: from absl.testing import absltest
  from magenta.common import testing_lib
  from magenta.pipelines import drum_pipelines
  from note_seq import drums_lib
  from note_seq import sequences_lib
  from note_seq import testing_lib
  from note_seq.protobuf import music_pb2
label_desc: Use image node_id 9 for calling the DrumPipelinesTest obj's underlying member method code with example usage: obj.testExtractDrumTracksTooLongDiscard() without return types