Skip to content

Commit

Permalink
Merge pull request #1422 from Unidata/dependabot-pip-ci-numpy-1.19.1
Browse files Browse the repository at this point in the history
MNT: (deps): Bump numpy from 1.18.5 to 1.19.1 in /ci
  • Loading branch information
dopplershift authored Jul 28, 2020
2 parents 95e0052 + 7a293a4 commit d642eae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/Current.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
matplotlib==3.2.1
numpy==1.18.5
numpy==1.19.1
scipy==1.5.2
pint==0.14
xarray==0.15.1
Expand Down
4 changes: 2 additions & 2 deletions tests/calc/test_thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ def test_most_unstable_parcel():
assert_almost_equal(ret[2], 19.0 * units.degC, 6)


@pytest.mark.filterwarnings('ignore:invalid value:RuntimeWarning')
def test_isentropic_pressure():
"""Test calculation of isentropic pressure function."""
lev = [100000., 95000., 90000., 85000.] * units.Pa
Expand All @@ -819,8 +820,7 @@ def test_isentropic_pressure():
tmp[:, :, -1] = np.nan
tmpk = tmp * units.kelvin
isentlev = [296.] * units.kelvin
with pytest.warns(RuntimeWarning, match='invalid value'):
isentprs = isentropic_interpolation(isentlev, lev, tmpk)
isentprs = isentropic_interpolation(isentlev, lev, tmpk)
trueprs = np.ones((1, 5, 5)) * (1000. * units.hPa)
trueprs[:, :, -1] = np.nan
assert isentprs[0].shape == (1, 5, 5)
Expand Down
2 changes: 1 addition & 1 deletion tests/plots/test_declarative.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def test_declarative_barb_earth_relative():
return pc.figure


@pytest.mark.mpl_image_compare(remove_text=True, tolerance=0.346)
@pytest.mark.mpl_image_compare(remove_text=True, tolerance=0.347)
def test_declarative_barb_gfs():
"""Test making a contour plot."""
data = xr.open_dataset(get_test_data('GFS_test.nc', as_file_obj=False))
Expand Down

0 comments on commit d642eae

Please sign in to comment.