test: update expected wheels when using auditwheel >= 4
This commit is contained in:
+1
-12
@@ -1,4 +1,3 @@
|
||||
import platform
|
||||
import textwrap
|
||||
|
||||
import pytest
|
||||
@@ -53,16 +52,6 @@ def test_build_identifiers(tmp_path):
|
||||
|
||||
# check that the number of expected wheels matches the number of build
|
||||
# identifiers
|
||||
# after adding CIBW_MANYLINUX_IMAGE to support manylinux2010, there
|
||||
# can be multiple wheels for each wheel, though, so we need to limit
|
||||
# the expected wheels
|
||||
if platform.machine() in ["x86_64", "i686"]:
|
||||
expected_wheels = [
|
||||
w
|
||||
for w in utils.expected_wheels("spam", "0.1.0")
|
||||
if "-manylinux" not in w or "-manylinux1" in w
|
||||
]
|
||||
else:
|
||||
expected_wheels = utils.expected_wheels("spam", "0.1.0")
|
||||
expected_wheels = utils.expected_wheels("spam", "0.1.0")
|
||||
build_identifiers = utils.cibuildwheel_get_build_identifiers(project_dir)
|
||||
assert len(expected_wheels) == len(build_identifiers)
|
||||
|
||||
Reference in New Issue
Block a user