Skip to content

Commit

Permalink
Merge pull request #3150 from avalentino/bugfix/arm64
Browse files Browse the repository at this point in the history
Use xfail for test that doesn't fail on arm64.
  • Loading branch information
dopplershift authored Aug 15, 2023
2 parents 6aec11e + 8b88766 commit 873574b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/calc/test_thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# SPDX-License-Identifier: BSD-3-Clause
"""Test the `thermo` module."""

import platform
import sys
import warnings

Expand Down Expand Up @@ -197,6 +198,8 @@ def test_moist_lapse_starting_points(start, direction):
assert_almost_equal(temp, truth, 4)


@pytest.mark.xfail(platform.machine() == 'aarch64',
reason='ValueError is not raised on aarch64')
@pytest.mark.xfail(sys.platform == 'win32', reason='solve_ivp() does not error on Windows')
@pytest.mark.xfail(packaging.version.parse(scipy.__version__) < packaging.version.parse('1.7'),
reason='solve_ivp() does not error on Scipy < 1.7')
Expand Down

0 comments on commit 873574b

Please sign in to comment.