code: def test_toplevel_obj(self):
      d1, d2 = strip_dict_params(self.scatter.marker, {})
      assert d1 == d2
      self.scatter.marker = go.scatter.Marker(color="yellow", size=10)
  
      assert isinstance(self.scatter.marker, go.scatter.Marker)
      d1, d2 = strip_dict_params(
          self.scatter.marker, self.expected_toplevel["marker"]
      )
      assert d1 == d2
  
      d1, d2 = strip_dict_params(self.scatter, self.expected_toplevel)
      assert d1 == d2
  
imports: from unittest import TestCase
  import plotly.graph_objs
  from plotly.tests.utils import strip_dict_params
label_desc: Use image node_id 2 for calling the TestAssignmentCompound obj's underlying member method code with example usage: obj.test_toplevel_obj() without return types