class_docstr: Tests for the 'native' resampling method.
class_docstr_tok: ["Tests","for","the","'native","'","resampling","method","."]
docstr: Test classmethod 'expand_reduce' returns the original dask array when factor is 1.
code: def test_expand_reduce_aggregate_identity(self):
      """Test classmethod 'expand_reduce' returns the original dask array when factor is 1."""
      new_data = NativeResampler._expand_reduce(
          self.d_arr, {0: 1.0, 1: 1.0}
      )
      assert new_data.shape == (6, 20)
      assert new_data is self.d_arr
  
imports: import os
  import shutil
  import tempfile
  import unittest
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  import xarray
  from pyproj import CRS
  from satpy.resample import NativeResampler
label_desc: Use image node_id 4 for calling the TestNativeResampler obj's underlying member method code with example usage: obj.test_expand_reduce_aggregate_identity() without return types