@@ -1833,7 +1833,7 @@ def test_area_slices_caching(self, create_test_area, tmp_path, cache_slices):
18331833 100 , 100 ,
18341834 (15.9689 , 58.5284 , 16.4346 , 58.6995 ))
18351835 cache_glob = str (tmp_path / "geometry_slices_v1" / "*.json" )
1836- with pyresample .config .set (cache_dir = tmp_path , cache_geom_slices = cache_slices ):
1836+ with pyresample .config .set (cache_dir = tmp_path , cache_geometry_slices = cache_slices ):
18371837 assert len (glob (cache_glob )) == 0
18381838 slice_x , slice_y = src_area .get_area_slices (crop_area )
18391839 assert len (glob (cache_glob )) == int (cache_slices )
@@ -1857,7 +1857,7 @@ def test_area_slices_caching_no_swaths(self, tmp_path, create_test_area, create_
18571857 lats = create_test_latitude (25.0 , 35.0 , shape = (1000 , 500 ))
18581858 swath = create_test_swath (lons , lats )
18591859
1860- with pyresample .config .set (cache_dir = tmp_path , cache_geom_slices = True ), pytest .raises (NotImplementedError ):
1860+ with pyresample .config .set (cache_dir = tmp_path , cache_geometry_slices = True ), pytest .raises (NotImplementedError ):
18611861 with pytest .warns (UserWarning , match = "unhashable" ):
18621862 get_area_slices (swath , area , None )
18631863
0 commit comments