code: def test_invalid_constructor_kwarg(self):
      with pytest.raises(ValueError):
          go.Scatter(bogus=87)
  
imports: from unittest import TestCase
  import plotly.graph_objs
  import pytest
label_desc: Use image node_id 8 for calling the TestPropertyValidation obj's underlying member method code with example usage: obj.test_invalid_constructor_kwarg() without return types