code: def test_escape(processor, stream):
      stream.feed("\x1bhello")
  
      assert len(processor.keys) == 1 + len("hello")
      assert processor.keys[0].key == Keys.Escape
      assert processor.keys[1].key == "h"
      assert processor.keys[0].data == "\x1b"
      assert processor.keys[1].data == "h"
  
imports: from __future__ import unicode_literals
  from prompt_toolkit.terminal.vt100_input import InputStream
  from prompt_toolkit.keys import Keys
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_escape(processor, stream) without return types