code: def test_print_tokens():
      f = _Capture()
      print_tokens([(Token, "hello"), (Token, "world")], file=f)
      assert b"hello" in f.data
      assert b"world" in f.data
  
file_path: catboost/contrib/python/prompt-toolkit/py2/tests/test_print_tokens.py
imports: from __future__ import unicode_literals
  from prompt_toolkit.shortcuts import print_tokens
  from prompt_toolkit.token import Token
  from prompt_toolkit.styles import style_from_dict
label_desc: Use image node_id 1 for calling a global function with example usage: test_print_tokens() without return types