code: def test_invalid_kwarg(self):
      with pytest.raises(ValueError):
          go.scatter.Marker(bogus=[1, 2, 3])
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_graph_objs/test_constructor.py
imports: from unittest import TestCase
  import plotly.graph_objs
  import pytest
label_desc: Use image node_id 6 for calling the TestGraphObjConstructor obj's underlying member method code with example usage: obj.test_invalid_kwarg() without return types