class_docstr: Mimic xarray Dataset object.
class_docstr_tok: ["Mimic","xarray","Dataset","object","."]
docstr: Initialize test data.
docstr_tok: ["Initialize","test","data","."]
code: def __init__(self, info, attrs):
      """Initialize test data."""
      for var_name, var_data in list(info.items()):
          if isinstance(var_data, np.ndarray):
              info[var_name] = xr.DataArray(var_data)
      self.info = info
      self.attrs = attrs
  
imports: import unittest
  from unittest import mock
  import dask.array
  import numpy
  import xarray
  from pytest import approx, raises
label_desc: Use image node_id 1 to create a new FakeDataset object from inherited base classes: object with example: obj = FakeDataset(info, attrs)