Commit 0d7a015f by Ivan Smirnov

Update numpy docstring test to the new format

parent 4611bcdd
...@@ -73,7 +73,7 @@ check_eq(arr, [((False, 0, 0.0), (True, 1, 1.5)), ...@@ -73,7 +73,7 @@ check_eq(arr, [((False, 0, 0.0), (True, 1, 1.5)),
((False, 2, 3.0), (True, 3, 4.5))], nested_dtype) ((False, 2, 3.0), (True, 3, 4.5))], nested_dtype)
print_rec_nested(arr) print_rec_nested(arr)
assert create_rec_nested.__doc__.strip().endswith('numpy.ndarray[dtype=NestedStruct]') assert create_rec_nested.__doc__.strip().endswith('numpy.ndarray[NestedStruct]')
arr = create_string_array(True) arr = create_string_array(True)
print(arr.dtype) print(arr.dtype)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment