Skip to content

Commit 70a510c

Browse files
committed
Adjust test_numpy_dtypes test_signature to new behavior.
1 parent 7280380 commit 70a510c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_numpy_dtypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ def test_complex_array():
342342

343343
def test_signature(doc):
344344
assert (
345-
doc(m.create_rec_nested)
346-
== "create_rec_nested(arg0: int) -> numpy.ndarray[NestedStruct]"
345+
doc(m.create_rec_nested) == "create_rec_nested(arg0: int) "
346+
'-> numpy.ndarray[Annotated[Any, CppTypePybind11("NestedStruct")]]'
347347
)
348348

349349

0 commit comments

Comments
 (0)