mirror of https://github.com/astral-sh/ruff
carry over failing test from conformance suite
This commit is contained in:
parent
58c67fd4cd
commit
beb2956a14
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue