code: def assertHypoTokens(self, hypo, tokens):
      self.assertTensorEqual(hypo["tokens"], torch.LongTensor(tokens))
  
file_path: fairseq/tests/test_sequence_scorer.py
imports: import argparse
  import unittest
  import tests.utils
  import torch
  from fairseq.sequence_scorer import SequenceScorer
label_desc: Use image node_id 2 for calling the TestSequenceScorer obj's underlying member method code with example usage: obj.assertHypoTokens(hypo, tokens) without return types