From bfde3e41a7478144e44c02a69fd98a35f916ffcd Mon Sep 17 00:00:00 2001 From: Douglas Creager Date: Thu, 11 Dec 2025 16:09:33 -0500 Subject: [PATCH] update tests --- .../ty_python_semantic/resources/mdtest/annotations/self.md | 2 +- crates/ty_python_semantic/resources/mdtest/decorators.md | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/crates/ty_python_semantic/resources/mdtest/annotations/self.md b/crates/ty_python_semantic/resources/mdtest/annotations/self.md index 14641dfb35..b3563e8935 100644 --- a/crates/ty_python_semantic/resources/mdtest/annotations/self.md +++ b/crates/ty_python_semantic/resources/mdtest/annotations/self.md @@ -194,7 +194,7 @@ reveal_type(B().name_does_not_matter()) # revealed: B reveal_type(B().positional_only(1)) # revealed: B reveal_type(B().keyword_only(x=1)) # revealed: B # TODO: This should deally be `B` -reveal_type(B().decorated_method()) # revealed: Self@decorated_method | Unknown +reveal_type(B().decorated_method()) # revealed: Self@decorated_method reveal_type(B().a_property) # revealed: B diff --git a/crates/ty_python_semantic/resources/mdtest/decorators.md b/crates/ty_python_semantic/resources/mdtest/decorators.md index 574de3f9ca..124e2d9a82 100644 --- a/crates/ty_python_semantic/resources/mdtest/decorators.md +++ b/crates/ty_python_semantic/resources/mdtest/decorators.md @@ -144,11 +144,9 @@ from functools import cache def f(x: int) -> int: return x**2 -# TODO: revealed: _lru_cache_wrapper[int] -# revealed: _lru_cache_wrapper[int] | _lru_cache_wrapper[Unknown] +# revealed: _lru_cache_wrapper[int] reveal_type(f) -# TODO: revealed: int -# revealed: int | Unknown +# revealed: int reveal_type(f(1)) ```