Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions python/pycrdt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@
from ._xml import XmlEvent as XmlEvent
from ._xml import XmlFragment as XmlFragment
from ._xml import XmlText as XmlText


def import_pycrdt():
import pycrdt
11 changes: 11 additions & 0 deletions tests/test_subinterpreters.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import pytest

from anyio import to_interpreter

from pycrdt import import_pycrdt

pytestmark = pytest.mark.anyio


async def test_subinterpreter():
await to_interpreter.run_sync(import_pycrdt)
Loading