Skip to main content

main

Initializes a Pyodide environment to download and execute pydantic-core tests from a GitHub archive. It fetches the specified or latest version of the repository, installs necessary Python dependencies, and runs a test script within a virtual file system.

def main() - > Promise< void >

Orchestrates the execution of pydantic-core tests within a Pyodide environment by fetching the specified version's source code and running a Python test runner script.

Returns

TypeDescription
Promise< void >A promise that resolves once the test environment setup and execution process is complete or has encountered an error.