class_docstr: Test the scene class.
class_docstr_tok: ["Test","the","scene","class","."]
docstr: Test setting an item wrongly.
docstr_tok: ["Test","setting","an","item","wrongly","."]
code: def test_bad_setitem(self):
      """Test setting an item wrongly."""
      scene = Scene()
      with pytest.raises(
          ValueError,
          match="Key must be a DataID when value is not an xarray DataArray or dict",
      ):
          scene.__setitem__("1", np.arange(5))
  
imports: import math
  import numpy
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
  from satpy.dataset.dataid import default_id_keys_config
  from satpy.tests.utils import FAKE_FILEHANDLER_END, FAKE_FILEHANDLER_START, make_cid, make_dataid
label_desc: Use image node_id 5 for calling the TestDataAccessMethods obj's underlying member method code with example usage: obj.test_bad_setitem() without return types