Skip to content

Commit

Permalink
Use xfail for test that doesn't fail on arm64.
Browse files Browse the repository at this point in the history
  • Loading branch information
avalentino committed Aug 13, 2023
1 parent 6aec11e commit 8b88766
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 8b88766

Please sign in to comment.