class_docstr: Test Scene.to_xarray() conversion.
class_docstr_tok: ["Test","Scene.to_xarray","(",")","conversion","."]
docstr: Test accept dataset string.
docstr_tok: ["Test","accept","dataset","string","."]
code: def test_dataset_string_accepted(self, single_area_scn):
      """Test accept dataset string."""
      ds = single_area_scn.to_xarray(datasets="var1")
      assert isinstance(ds, xr.Dataset)
  
imports: from datetime import datetime
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
label_desc: Use image node_id 7 for calling the TestToXarrayConversion obj's underlying member method code with example usage: obj.test_dataset_string_accepted(single_area_scn) without return types