class_docstr: Tests for cpWER calculation.
class_docstr_tok: ["Tests","for","cpWER","calculation","."]
code: def test_get_partial_ref_labels(
      self, pred_labels, ref_labels, expected_output
  ):
      assert (
          get_partial_ref_labels(pred_labels, ref_labels)
          == expected_output
      )
  
file_path: NeMo/tests/collections/asr/test_diar_metrics.py
imports: from itertools import permutations
  import pytest
  import torch
  from nemo.collections.asr.metrics.der import calculate_session_cpWER, calculate_session_cpWER_bruteforce, get_online_DER_stats, get_partial_ref_labels
label_desc: Use image node_id 6 for calling the TestConcatMinPermWordErrorRate obj's underlying member method code with example usage: obj.test_get_partial_ref_labels(pred_labels, ref_labels, expected_output) without return types