code: def test_invalid_dot_assignment(self):
      with pytest.raises(ValueError):
          self.scatter["marker.bogus"] = 87
  
imports: from unittest import TestCase
  import plotly.graph_objs
  import pytest
label_desc: Use image node_id 6 for calling the TestPropertyValidation obj's underlying member method code with example usage: obj.test_invalid_dot_assignment() without return types