Skip to content

Commit

Permalink
Try to fix emscripten test
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Apr 6, 2023
1 parent 10417f7 commit 89db13f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cibuildwheel/pyodide.py
Expand Up @@ -296,8 +296,9 @@ def build(options: Options, tmp_path: Path) -> None:
build_options.package_dir,
*extra_flags,
env=build_env,
cwd=identifier_tmp_dir / "build"
)
output = next((build_options.package_dir / "dist").glob("*.whl"))
output = next((identifier_tmp_dir / "build/dist").glob("*.whl"))
shutil.move(str(output), built_wheel_dir)

built_wheel = next(built_wheel_dir.glob("*.whl"))
Expand Down
2 changes: 1 addition & 1 deletion test/test_emscripten.py
@@ -1,10 +1,10 @@
from __future__ import annotations

import platform
import shutil
import textwrap

import pytest
import shutil

from . import test_projects, utils

Expand Down

0 comments on commit 89db13f

Please sign in to comment.