code: def test_invalid(processor, stream):
      # Invalid sequence that has at two characters in common with other
      # sequences.
      stream.feed("\x1b[*")
  
      assert len(processor.keys) == 3
      assert processor.keys[0].key == Keys.Escape
      assert processor.keys[1].key == "["
      assert processor.keys[2].key == "*"
  
imports: from __future__ import annotations
  import pytest
  from prompt_toolkit.input.vt100_parser import Vt100Parser
  from prompt_toolkit.keys import Keys
label_desc: Use image node_id 11 for calling a global function with example usage: test_invalid(processor, stream) without return types