code: def test_align_target_label(self):
      target = [[0.1, 0.2, 0.3], [0.1, 0.2, 0.3]]
      batch_label_list = [["l3", "l2", "l1"], ["l1", "l3", "l2"]]
      label_vocab = {"l1": 0, "l2": 1, "l3": 2}
      align_target = utils.align_target_labels(
          target, batch_label_list, label_vocab
      )
      self.assertListEqual(
          align_target, [[0.3, 0.2, 0.1], [0.1, 0.3, 0.2]]
      )
  
file_path: pytext/pytext/data/test/utils_test.py
imports: import unittest
  from pytext.data import utils
label_desc: Use image node_id 1 for calling the TargetTest obj's underlying member method code with example usage: obj.test_align_target_label() without return types