Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Feb 17, 2022
1 parent 00f097e commit c4388fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyresample/test/test_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2461,7 +2461,7 @@ def test_freeze_with_bb(self):
[50, 51, 52, 53]]
import xarray as xr
sdef = geometry.SwathDefinition(xr.DataArray(lons), xr.DataArray(lats))
result = area.freeze(sdef, resolution=1000)
result = area.freeze(sdef)
np.testing.assert_allclose(result.area_extent,
[-335439.956533, 5502125.451125,
191991.313351, 7737532.343683])
Expand Down
2 changes: 1 addition & 1 deletion pyresample/test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def test_dynamic_area_parser_passes_resolution(self):
from pyresample import parse_area_file
test_area_file = os.path.join(os.path.dirname(__file__), 'test_files', 'areas.yaml')
test_area = parse_area_file(test_area_file, 'omerc_bb_1000')[0]
assert test_area.resolution == 1000
assert test_area.resolution == (1000, 1000)

def test_multiple_file_content(self):
from pyresample import parse_area_file
Expand Down

0 comments on commit c4388fd

Please sign in to comment.