code: def test_get_logical_form_fails_with_incomplete_action_sequence(self):
      nlvr_world = self.nlvr_world
      action_sequence = [
          "@start@ -> t",
          "t -> [<b,t>, b]",
          "<b,t> -> box_exists",
      ]
      with self.assertRaisesRegex(
          ParsingError, "Incomplete action sequence"
      ):
          nlvr_world.get_logical_form(action_sequence)
  
imports: from __future__ import with_statement
  from __future__ import division
  from __future__ import absolute_import
  import json
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data.tokenizers import Token
  from allennlp.semparse import ParsingError, World
  from allennlp.semparse.contexts import TableQuestionKnowledgeGraph
  from allennlp.semparse.worlds import NlvrWorld, WikiTablesWorld
  from io import open
label_desc: Use image node_id 10 for calling the TestWorld obj's underlying member method code with example usage: obj.test_get_logical_form_fails_with_incomplete_action_sequence() without return types