class_docstr: Test methods that compute the internal data in some way.
class_docstr_tok: ["Test","methods","that","compute","the","internal","data","in","some","way","."]
docstr: Test pass through of xarray persist.
docstr_tok: ["Test","pass","through","of","xarray","persist","."]
code: def test_persist_pass_through(self):
      """Test pass through of xarray persist."""
      from dask.array.utils import assert_eq
  
      scene = Scene(filenames=["fake1_1.txt"], reader="fake1")
      scene.load(["ds1"])
      scenep = scene.persist()
      assert_eq(scene["ds1"].data, scenep["ds1"].data)
      assert set(scenep["ds1"].data.dask).issubset(
          scene["ds1"].data.dask
      )
      assert (
          len(scenep["ds1"].data.dask) == scenep["ds1"].data.npartitions
      )
  
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 2 for calling the TestComputePersist obj's underlying member method code with example usage: obj.test_persist_pass_through() without return types