Skip to main content

test_context

Macro test_context 

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

Create a new TestContext with the given Python version.

Creates a virtual environment for the test.

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