Skip to content

Commit

Permalink
Restore pytest config options, remove when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed May 28, 2024
1 parent c8cb38b commit eb36d40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
- name: Run Zarr tests for Pyodide
run: |
# Avoid missing asyncio plugin error from pytest, unavailable in Pyodide
if grep -q 'asyncio_mode = "auto"' "pyproject.toml"; then sed '/asyncio_mode = "auto"/d' "pyproject.toml" > temp && mv temp "pyproject.toml"; fi
pyodide venv .venv-pyodide
source .venv-pyodide/bin/activate
python -m pip install dist/*.whl
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ minversion = "7"
testpaths = ["tests"]
log_cli_level = "INFO"
xfail_strict = true
# asyncio_mode = "auto"
# Doesn't work under WASM, remove when running Pyodide test suite
asyncio_mode = "auto"
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"ELLIPSIS",
Expand Down

0 comments on commit eb36d40

Please sign in to comment.