mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 07:02:11 +00:00
tests: Fix tests handle
-> object
This commit is contained in:
parent
b9893666c7
commit
d3d700df2b
@ -77,7 +77,7 @@ def test_init_factory_signature(msg):
|
|||||||
1. m.factory_constructors.TestFactory1(arg0: m.factory_constructors.tag.unique_ptr_tag, arg1: int)
|
1. m.factory_constructors.TestFactory1(arg0: m.factory_constructors.tag.unique_ptr_tag, arg1: int)
|
||||||
2. m.factory_constructors.TestFactory1(arg0: str)
|
2. m.factory_constructors.TestFactory1(arg0: str)
|
||||||
3. m.factory_constructors.TestFactory1(arg0: m.factory_constructors.tag.pointer_tag)
|
3. m.factory_constructors.TestFactory1(arg0: m.factory_constructors.tag.pointer_tag)
|
||||||
4. m.factory_constructors.TestFactory1(arg0: handle, arg1: int, arg2: handle)
|
4. m.factory_constructors.TestFactory1(arg0: object, arg1: int, arg2: object)
|
||||||
|
|
||||||
Invoked with: 'invalid', 'constructor', 'arguments'
|
Invoked with: 'invalid', 'constructor', 'arguments'
|
||||||
"""
|
"""
|
||||||
@ -95,7 +95,7 @@ def test_init_factory_signature(msg):
|
|||||||
|
|
||||||
3. __init__(self: m.factory_constructors.TestFactory1, arg0: m.factory_constructors.tag.pointer_tag) -> None
|
3. __init__(self: m.factory_constructors.TestFactory1, arg0: m.factory_constructors.tag.pointer_tag) -> None
|
||||||
|
|
||||||
4. __init__(self: m.factory_constructors.TestFactory1, arg0: handle, arg1: int, arg2: handle) -> None
|
4. __init__(self: m.factory_constructors.TestFactory1, arg0: object, arg1: int, arg2: object) -> None
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user