We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36a900f commit a937698Copy full SHA for a937698
tests/integration/test_manylinux.py
@@ -585,8 +585,10 @@ def test_numpy_sbom(
585
# Package URL prefixes must match for a policy.
586
if policy.startswith("musllinux"):
587
expected_purl_prefix = "pkg:apk/alpine/"
588
- elif policy.startswith(("manylinux_2_17", "manylinux_2_31_")):
589
- expected_purl_prefix = ("pkg:rpm/centos/", "pkg:deb/ubuntu/")
+ elif policy.startswith("manylinux_2_17_"):
+ expected_purl_prefix = "pkg:rpm/centos/"
590
+ elif policy.startswith("manylinux_2_31_"):
591
+ expected_purl_prefix = "pkg:deb/ubuntu/"
592
elif policy.startswith("manylinux_2_34_"):
593
expected_purl_prefix = "pkg:rpm/almalinux/"
594
else:
0 commit comments