Adjust test_numpy_dtypes test_signature to new behavior.

This commit is contained in:
Ralf W. Grosse-Kunstleve 2023-10-21 11:15:19 -07:00
parent 7280380378
commit 70a510c305

View File

@ -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")]]'
)