# /// script # dependencies = [ # "uvloop>=0.18" # ] # requires-python = ">=3.10" # /// from __future__ import annotations import sys from pathlib import Path import uvloop # Use pymongo from parent directory. root = Path(__file__).parent.parent sys.path.insert(0, str(root)) from test.asynchronous import async_simple_test_client # noqa: E402 async def main(): async with async_simple_test_client() as client: result = await client.admin.command("ping") assert result["ok"] uvloop.run(main())