code: def test_tokens_comparison():
      x = Token("hello", 0)
      y = Token("Hello", 0)
  
      assert x == x
      assert y < x
  
      assert x != 1
  
      with pytest.raises(TypeError):
          assert y < "a"
  
imports: from typing import Any, Dict, Optional, Tuple, Text, List
  import pytest
  from rasa.nlu.tokenizers.tokenizer import Token
  from rasa.nlu.constants import TOKENS_NAMES
  from rasa.shared.nlu.constants import TEXT, INTENT, RESPONSE, INTENT_RESPONSE_KEY, ACTION_TEXT, ACTION_NAME
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.training_data.message import Message
  from rasa.nlu.tokenizers.whitespace_tokenizer import WhitespaceTokenizer
label_desc: Use image node_id 2 for calling a global function with example usage: test_tokens_comparison() without return types