class_docstr: Test case for the file reading.
docstr: Check that a dask array is returned from the read function.
docstr_tok: ["Check","that","a","dask","array","is","returned","from","the","read","function","."]
code: def test_dataread(self, memmap):
      """Check that a dask array is returned from the read function."""
      test_arr = np.zeros((10, 10))
      memmap.return_value = test_arr
      m = mock.mock_open()
      with mock.patch(
          "satpy.readers.ahi_l1b_gridded_bin.open", m, create=True
      ):
          res = self.fh._read_data(mock.MagicMock())
          np.testing.assert_allclose(res, da.from_array(test_arr))
  
imports: import os
  import shutil
  import tempfile
  import unittest
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  from pyresample.geometry import AreaDefinition
  from satpy.readers.ahi_l1b_gridded_bin import AHI_LUT_NAMES, AHIGriddedFileHandler
label_desc: Use image node_id 3 for calling the TestAHIGriddedFileHandler obj's underlying member method code with example usage: obj.test_dataread(memmap) without return types