Skip to content

Commit

Permalink
tests: mark tests as xfail due to Meson not being able to find Python
Browse files Browse the repository at this point in the history
Meson is not able to find Python in some cases when running under a
virtual environment.

Signed-off-by: Filipe Laíns <lains@riseup.net>
  • Loading branch information
FFY00 committed Mar 23, 2022
1 parent 77438af commit f706103
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def test_contents(package_library, wheel_library):
assert re.match(regex, name), f'`{name}` does not match `{regex}`'


@pytest.mark.xfail(reason='Meson bug')
def test_purelib_and_platlib(wheel_purelib_and_platlib):
artifact = wheel.wheelfile.WheelFile(wheel_purelib_and_platlib)

Expand Down Expand Up @@ -106,6 +107,7 @@ def test_configure_data(wheel_configure_data):
}


@pytest.mark.xfail(reason='Meson bug')
def test_interpreter_abi_tag(wheel_purelib_and_platlib):
expected = f'purelib_and_platlib-1.0.0-{PYTHON_TAG}-{INTERPRETER_TAG}-{PLATFORM_TAG}.whl'
assert wheel_purelib_and_platlib.name == expected
Expand Down

0 comments on commit f706103

Please sign in to comment.