code: def test_invalid_tuple_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 7 for calling the TestPropertyValidation obj's underlying member method code with example usage: obj.test_invalid_tuple_assignment() without return types