Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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