class_docstr: Test Scene.to_xarray() conversion.
class_docstr_tok: ["Test","Scene.to_xarray","(",")","conversion","."]
docstr: Test raise error if unexisting dataset.
docstr_tok: ["Test","raise","error","if","unexisting","dataset","."]
code: def test_wrong_dataset_key(self, single_area_scn):
      """Test raise error if unexisting dataset."""
      with pytest.raises(KeyError):
          _ = single_area_scn.to_xarray(datasets="var2")
  
imports: from datetime import datetime
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
label_desc: Use image node_id 8 for calling the TestToXarrayConversion obj's underlying member method code with example usage: obj.test_wrong_dataset_key(single_area_scn) without return types