code: def test_update_raise_bad_parameter(self, bad_kwarg, exception, msg):
      df = DataFrame([[1.5, 1, 3.0]])
      with pytest.raises(exception, match=msg):
          df.update(df, **bad_kwarg)
  
file_path: pandas/pandas/tests/frame/methods/test_update.py
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Series, date_range
  import pandas._testing
label_desc: Use image node_id 6 for calling the TestDataFrameUpdate obj's underlying member method code with example usage: obj.test_update_raise_bad_parameter(bad_kwarg, exception, msg) without return types