carry over failing test from conformance suite

This commit is contained in:
Douglas Creager 2025-12-02 21:32:02 -05:00
parent 58c67fd4cd
commit beb2956a14
1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@ classes. Uses of these items should subsequently produce a warning.
from typing_extensions import deprecated
@deprecated("use OtherClass")
def myfunc(): ...
def myfunc(x: int): ...
myfunc() # error: [deprecated] "use OtherClass"
myfunc(1) # error: [deprecated] "use OtherClass"
```
```py