mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-16 21:57:55 +00:00
Adjust test_numpy_dtypes test_signature to new behavior.
This commit is contained in:
parent
7280380378
commit
70a510c305
@ -342,8 +342,8 @@ def test_complex_array():
|
||||
|
||||
def test_signature(doc):
|
||||
assert (
|
||||
doc(m.create_rec_nested)
|
||||
== "create_rec_nested(arg0: int) -> numpy.ndarray[NestedStruct]"
|
||||
doc(m.create_rec_nested) == "create_rec_nested(arg0: int) "
|
||||
'-> numpy.ndarray[Annotated[Any, CppTypePybind11("NestedStruct")]]'
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user