code: def test_update_invalid_attr(self):
      with pytest.raises(ValueError):
          self.figure.layout.update({"xaxis": {"bogus": 32}})
  
imports: from unittest import TestCase
  import pytest
  import plotly.graph_objs
  import plotly.io
label_desc: Use image node_id 19 for calling the TestFigureProperties obj's underlying member method code with example usage: obj.test_update_invalid_attr() without return types