class_docstr: Tests for the 'native' resampling method.
class_docstr_tok: ["Tests","for","the","'native","'","resampling","method","."]
docstr: Test expanding native resampling with 4D data with no dimensions specified.
code: def test_expand_without_dims_4D(self):
      """Test expanding native resampling with 4D data with no dimensions specified."""
      ds1, source_area, _, _, target_area = get_test_data(
          input_shape=(2, 3, 100, 50), input_dims=None
      )
      # source geo def doesn't actually matter
      resampler = NativeResampler(source_area, target_area)
      with pytest.raises(
          ValueError,
          match="Can only handle 2D or 3D arrays without dimensions.",
      ):
          resampler.resample(ds1)
  
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 11 for calling the TestNativeResampler obj's underlying member method code with example usage: obj.test_expand_without_dims_4D() without return types