diff --git a/crates/ty_python_semantic/src/types/constraints.rs b/crates/ty_python_semantic/src/types/constraints.rs index 8382168dba..d60353d67e 100644 --- a/crates/ty_python_semantic/src/types/constraints.rs +++ b/crates/ty_python_semantic/src/types/constraints.rs @@ -3992,28 +3992,28 @@ mod tests { #[test] fn test_display_graph_output() { let expected = indoc! {r#" - (T = str) 3/4 - ┡━₁ (T = bool) 4/4 - │ ┡━₁ (U = str) 1/2 - │ │ ┡━₁ (U = bool) 2/2 + (T = str) Explicit 3/4 + ┡━₁ (T = bool) Explicit 4/4 + │ ┡━₁ (U = str) Explicit 1/2 + │ │ ┡━₁ (U = bool) Explicit 2/2 │ │ │ ┡━₁ always │ │ │ └─₀ always - │ │ └─₀ (U = bool) 2/2 + │ │ └─₀ (U = bool) Explicit 2/2 │ │ ┡━₁ always │ │ └─₀ never - │ └─₀ (U = str) 1/2 - │ ┡━₁ (U = bool) 2/2 + │ └─₀ (U = str) Explicit 1/2 + │ ┡━₁ (U = bool) Explicit 2/2 │ │ ┡━₁ always │ │ └─₀ always - │ └─₀ (U = bool) 2/2 + │ └─₀ (U = bool) Explicit 2/2 │ ┡━₁ always │ └─₀ never - └─₀ (T = bool) 4/4 - ┡━₁ (U = str) 1/2 - │ ┡━₁ (U = bool) 2/2 + └─₀ (T = bool) Explicit 4/4 + ┡━₁ (U = str) Explicit 1/2 + │ ┡━₁ (U = bool) Explicit 2/2 │ │ ┡━₁ always │ │ └─₀ always - │ └─₀ (U = bool) 2/2 + │ └─₀ (U = bool) Explicit 2/2 │ ┡━₁ always │ └─₀ never └─₀ never