Skip to content

Commit 8471838

Browse files
committed
Update tests for pybind11 v3
1 parent 213d4df commit 8471838

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_ft_docs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_docstrings_meth():
3939
def test_docstrings_meth_kwd():
4040
assert inspect.getdoc(ft.DocClass.fn2) == inspect.cleandoc(
4141
"""
42-
fn2(self: rpytest.ft._rpytest_ft.DocClass, from_: int) -> None
42+
fn2(self: rpytest.ft._rpytest_ft.DocClass, from_: typing.SupportsInt) -> None
4343
4444
Function with parameter that's a python keyword
4545
@@ -51,7 +51,7 @@ def test_docstrings_meth_kwd():
5151
def test_docstrings_meth_rename():
5252
assert inspect.getdoc(ft.DocClass.fn3) == inspect.cleandoc(
5353
"""
54-
fn3(self: rpytest.ft._rpytest_ft.DocClass, ohai: int) -> None
54+
fn3(self: rpytest.ft._rpytest_ft.DocClass, ohai: typing.SupportsInt) -> None
5555
5656
Function with renamed parameter
5757

0 commit comments

Comments
 (0)