Skip to content

Commit

Permalink
more test target updatse
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapriot committed Aug 18, 2024
1 parent 92521df commit 29c4b8a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,17 @@ class TestStruct:
def field_readonly(self) -> int: ...

def func_incomplete_signature(*args, **kwargs):
"""func_incomplete_signature() -> dummy_sub_namespace::HasNoBinding"""
"""func_incomplete_signature() -> dummy_sub_namespace::HasNoBinding
"""
def func_returning_optional() -> int | None:
"""func_returning_optional() -> Optional[int]"""
"""func_returning_optional() -> Optional[int]
"""
def func_returning_pair() -> tuple[int, float]:
"""func_returning_pair() -> Tuple[int, float]"""
"""func_returning_pair() -> Tuple[int, float]
"""
def func_returning_path() -> os.PathLike:
"""func_returning_path() -> os.PathLike"""
"""func_returning_path() -> os.PathLike
"""
def func_returning_vector() -> list[float]:
"""func_returning_vector() -> List[float]"""
"""func_returning_vector() -> List[float]
"""
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,23 @@ class Point:
mm: ClassVar[Point.LengthUnit] = ...
pixel: ClassVar[Point.LengthUnit] = ...
def __init__(self, value: int) -> None:
"""__init__(self: pybind11_fixtures.demo.Point.LengthUnit, value: int) -> None"""
"""__init__(self: pybind11_fixtures.demo.Point.LengthUnit, value: int) -> None
"""
def __eq__(self, other: object) -> bool:
"""__eq__(self: object, other: object) -> bool"""
"""__eq__(self: object, other: object) -> bool
"""
def __hash__(self) -> int:
"""__hash__(self: object) -> int"""
"""__hash__(self: object) -> int
"""
def __index__(self) -> int:
"""__index__(self: pybind11_fixtures.demo.Point.LengthUnit) -> int"""
"""__index__(self: pybind11_fixtures.demo.Point.LengthUnit) -> int
"""
def __int__(self) -> int:
"""__int__(self: pybind11_fixtures.demo.Point.LengthUnit) -> int"""
"""__int__(self: pybind11_fixtures.demo.Point.LengthUnit) -> int
"""
def __ne__(self, other: object) -> bool:
"""__ne__(self: object, other: object) -> bool"""
"""__ne__(self: object, other: object) -> bool
"""
@property
def name(self) -> str: ...
@property
Expand Down

0 comments on commit 29c4b8a

Please sign in to comment.