code: def test_get_char_weights():
      for lang in ("en", "es", "xx"):
          char_weights = utils.get_char_weights(lang)
          assert isinstance(char_weights, list)
          assert all(isinstance(item, tuple) for item in char_weights)
          assert all(isinstance(char, str) for char, _ in char_weights)
          assert all(
              isinstance(weight, (int, float))
              for _, weight in char_weights
          )
  
imports: import pytest
  from textacy.augmentation import utils
  from textacy.types import AugTok
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_char_weights() without return types