MAINT Some changes from micropip-binary-wheels. Trying to determine why github actions fails on #2591.
from pyodide_test_runner import run_in_pyodide


@run_in_pyodide(packages=["regex"])
def test_regex():
    import regex

    assert regex.search("o", "foo").end() == 2

from pyodide_test_runner import run_in_pyodide


@run_in_pyodide(packages=["regex"])
def test_regex():
    import regex

    assert regex.search("o", "foo").end() == 2
