code: def test_token_spans():
      s = SplitResult.fromtext("Hello, world!")
      assert s.token_spans == [(0, 5), (7, 12)]
  
file_path: eli5/tests/test_lime_textutils.py
imports: from __future__ import absolute_import
  import numpy
  from hypothesis import given, assume
  from hypothesis.strategies import characters, text
  from eli5.lime.textutils import SplitResult, TokenizedText
label_desc: Use image node_id 4 for calling a global function with example usage: test_token_spans() without return types