Skip to content

Commit

Permalink
Merge pull request #1542 from Unidata/dependabot-pip-ci-flake8-compre…
Browse files Browse the repository at this point in the history
…hensions-3.3.0

MNT: (deps): Bump flake8-comprehensions from 3.2.3 to 3.3.0 in /ci
  • Loading branch information
dopplershift committed Oct 31, 2020
2 parents a4f0d19 + be617e2 commit 54129e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/linting_requirements.txt
Expand Up @@ -4,7 +4,7 @@ pyflakes==2.2.0

flake8-bugbear==20.1.4
flake8-builtins==1.5.3
flake8-comprehensions==3.2.3
flake8-comprehensions==3.3.0
flake8-copyright==0.2.2
flake8-import-order==0.18.1
flake8-mutable==1.2.0
Expand Down
2 changes: 1 addition & 1 deletion tests/test_xarray.py
Expand Up @@ -258,7 +258,7 @@ def test_parsecf_crs():

def test_parsecf_existing_scalar_crs():
"""Test calling `parse_cf` on a variable with an existing scalar metpy_crs coordinate."""
ds = xr.Dataset({'data': xr.DataArray(1, coords=dict(metpy_crs=1))})
ds = xr.Dataset({'data': xr.DataArray(1, coords={'metpy_crs': 1})})

with pytest.warns(UserWarning, match='metpy_crs already present'):
ds.metpy.parse_cf('data')
Expand Down

0 comments on commit 54129e6

Please sign in to comment.