mirror of https://github.com/astral-sh/ruff
fix tests again
This commit is contained in:
parent
d2fae5c531
commit
d30cb13028
|
|
@ -451,7 +451,7 @@ def keyword_only_with_default_2(*, y: int = 42) -> int:
|
|||
# parameter list i.e., `()`
|
||||
# TODO: This shouldn't error
|
||||
# error: [invalid-argument-type]
|
||||
# revealed: (*, x: int = Unknown) -> bool
|
||||
# revealed: (*, x: int = Literal[42]) -> bool
|
||||
reveal_type(multiple(keyword_only_with_default_1, keyword_only_with_default_2))
|
||||
|
||||
def keyword_only1(*, x: int) -> int:
|
||||
|
|
|
|||
Loading…
Reference in New Issue