Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 21, 2025
1 parent 1296a03 commit 472733f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/test_crs.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ def test_create_crs():
"""Test create crs transforms input info into array with metadata."""
crs_data_array = create_crs(sample_target_info)
assert 'crs_wkt' in crs_data_array.attrs
assert (
'NSIDC EASE-Grid 2.0 Global' in crs_data_array.crs_wkt
), f'expected "NSIDC EASE-Grid 2.0 Global" in {crs_data_array.crs_wkt}'
assert 'NSIDC EASE-Grid 2.0 Global' in crs_data_array.crs_wkt, (
f'expected "NSIDC EASE-Grid 2.0 Global" in {crs_data_array.crs_wkt}'
)
assert crs_data_array.attrs['proj'] == (
'+proj=cea +lat_ts=30 +lon_0=0 +x_0=0 '
'+y_0=0 +datum=WGS84 +units=m +no_defs +type=crs'
Expand Down

0 comments on commit 472733f

Please sign in to comment.