code: def test_single_prop_path_key_guess(some_fig):
      raised = False
      try:
          some_fig.layout.shapes[0]["typ"] = "sandwich"
      except ValueError as e:
          raised = True
          assert e.args[0].find('Did you mean "type"?') >= 0
      assert raised
  
imports: import plotly.graph_objects
  from _plotly_utils.exceptions import PlotlyKeyError
  import pytest
label_desc: Use image node_id 20 for calling a global function with example usage: test_single_prop_path_key_guess(some_fig) without return types