Run core tests in Safari. Partially addresses https://github.com/pyodide/pyodide/issues/989

It runs, but there are several test failures, I'll open separate issues about those.
from pytest_pyodide import run_in_pyodide


@run_in_pyodide(packages=["python-magic"])
def test_magic(selenium):
    import magic

    buffer = b"abcde"
    assert magic.from_buffer(buffer) == "ASCII text, with no line terminators"
    assert magic.from_buffer(buffer, mime=True) == "text/plain"

    filename = "/usr/lib/libmagic.so"
    assert (
        magic.from_file(filename)
        == "WebAssembly (wasm) binary module version 0x1 (MVP)"
    )
    assert magic.from_file(filename, mime=True) == "application/octet-stream"

from pytest_pyodide import run_in_pyodide


@run_in_pyodide(packages=["python-magic"])
def test_magic(selenium):
    import magic

    buffer = b"abcde"
    assert magic.from_buffer(buffer) == "ASCII text, with no line terminators"
    assert magic.from_buffer(buffer, mime=True) == "text/plain"

    filename = "/usr/lib/libmagic.so"
    assert (
        magic.from_file(filename)
        == "WebAssembly (wasm) binary module version 0x1 (MVP)"
    )
    assert magic.from_file(filename, mime=True) == "application/octet-stream"
