Skip to main content

test_context_with_versions

Macro test_context_with_versions 

Source
macro_rules! test_context_with_versions {
    ($python_versions:expr) => { ... };
}
Expand description

Create a new TestContext with zero or more Python versions.

Unlike test_context!, this does not create a virtual environment.

This macro captures the uv binary path at compile time using env!("CARGO_BIN_EXE_uv"), which is only available in the test crate.