tests: run on pyodide (#4745)

* tests: run on pyodide

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

* ci: use cibuildwheel for pyodide test

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

* tests: revert changes to test_embed

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

---------

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Henry Schreiner
2024-07-18 14:50:38 -04:00
committed by GitHub
parent dbf848aff7
commit a582ca8a8e
10 changed files with 86 additions and 6 deletions

View File

@@ -1,5 +1,7 @@
from __future__ import annotations
import sys
import pytest
import env # noqa: F401
@@ -435,6 +437,7 @@ def test_inherited_virtuals():
assert obj.say_everything() == "BT -7"
@pytest.mark.skipif(sys.platform.startswith("emscripten"), reason="Requires threads")
def test_issue_1454():
# Fix issue #1454 (crash when acquiring/releasing GIL on another thread in Python 2.7)
m.test_gil()