code: def test_speaker_diarization():
      (
          labels,
          purity_cluster_m,
          purity_speaker_m,
      ) = aS.speaker_diarization(
          "test_data/diarizationExample.wav", 4, plot_res=False
      )
      assert purity_cluster_m > 0.9, "Diarization cluster purity is low"
      assert purity_speaker_m > 0.9, "Diarization speaker purity is low"
  
imports: import sys
  import os
  from pyAudioAnalysis import audioTrainTest
  from pyAudioAnalysis import audioSegmentation
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: test_speaker_diarization() without return types