[red-knot] remove redundant sentence in test (#16660)

Removes a redundant sentence I accidentally left in the test suite from
in #16540 (my mistake).
This commit is contained in:
Carl Meyer 2025-03-11 21:20:31 -07:00 committed by GitHub
parent 78b5f0b165
commit 0340e23395
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,8 +1,7 @@
# Function return type
When a function's return type is annotated, all return statements are checked to ensure that the
type of the returned value is assignable to the annotated return type. A `raise` is equivalent to a
return of `Never`, which is assignable to any annotated return type.
type of the returned value is assignable to the annotated return type.
## Basic examples