File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
wheel = Path(sys.argv[1])
17
17
dest_dir = Path(sys.argv[2])
18
18
platform = wheel.stem.split("-")[-1]
19
+ if platform.startswith("pyodide"):
20
+ # for the sake of this test, munge the pyodide platforms into one, it's
21
+ # not valid, but it does activate the uniqueness check
22
+ platform = "pyodide"
23
+
19
24
name = f"spam-0.1.0-py2-none-{platform}.whl"
20
25
dest = dest_dir / name
21
26
dest_dir.mkdir(parents=True, exist_ok=True)
@@ -50,9 +55,4 @@ def test(tmp_path, capfd):
50
55
else :
51
56
# We only produced one wheel (perhaps Pyodide)
52
57
# check that it has the right name
53
- #
54
- # As far as I can tell, this is the only full test coverage for
55
- # CIBW_REPAIR_WHEEL_COMMAND so this is useful even in the case when no
56
- # error is raised
57
- assert "spam-0.1.0-py2-none-pyodide" in captured .out
58
58
assert result [0 ].startswith ("spam-0.1.0-py2-none-" )
You can’t perform that action at this time.
0 commit comments