Buckets:

download
raw
572 Bytes
"""Local pytest config for the testing examples — picks `asyncio_mode = auto`."""
# pytest-asyncio reads this from `pytest.ini` / `pyproject.toml` / `setup.cfg`,
# but a local `pytestmark` keeps the examples portable without a config file.
import pytest
pytest_plugins = ("pytest_asyncio",)
def pytest_collection_modifyitems(config, items):
"""Auto-apply the asyncio marker to coroutine tests."""
import asyncio
for item in items:
if asyncio.iscoroutinefunction(getattr(item, "function", None)):
item.add_marker(pytest.mark.asyncio)

Xet Storage Details

Size:
572 Bytes
·
Xet hash:
8c3f25093babd73c2bc7fe9a019e6fd2f68c1caa27886548d0ed0b1e7d42cb5b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.