Skip to content

Commit

Permalink
removed non-significant digits to shorten line
Browse files Browse the repository at this point in the history
  • Loading branch information
ahijevyc committed Feb 12, 2025
1 parent de9f0b1 commit 804be43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/calc/test_thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2311,7 +2311,7 @@ def test_cape_cin_value_error():
-35.9, -26.7, -37.7, -43.1, -33.9, -40.9, -46.1, -34.9, -33.9,
-33.7, -33.3, -42.5, -50.3, -49.7, -49.5, -58.3, -61.3]) * units.degC
cape, cin = surface_based_cape_cin(pressure, temperature, dewpoint)
expected_cape, expected_cin = 2182.603533802558 * units('joules/kg'), 0.0 * units('joules/kg')
expected_cape, expected_cin = 2182.6035338 * units('joules/kg'), 0.0 * units('joules/kg')
assert_almost_equal(cape, expected_cape, 3)
assert_almost_equal(cin, expected_cin, 3)

Expand Down

0 comments on commit 804be43

Please sign in to comment.