code: def test_get_numbers_from_tokens_works_for_units(self):
      tokens = [Token(x) for x in ["1ghz", "3.5mm", "-2m/s"]]
      numbers = TableQuestionKnowledgeGraph._get_numbers_from_tokens(
          tokens
      )
      assert numbers == [
          ("1", "1ghz"),
          ("3.500", "3.5mm"),
          ("-2", "-2m/s"),
      ]
  
imports: from __future__ import absolute_import
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data import Token
  from allennlp.semparse.contexts import TableQuestionKnowledgeGraph
label_desc: Use image node_id 21 for calling the TestTableQuestionKnowledgeGraph obj's underlying member method code with example usage: obj.test_get_numbers_from_tokens_works_for_units() without return types