Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
0d7a015f
Commit
0d7a015f
authored
Aug 13, 2016
by
Ivan Smirnov
Browse files
Update numpy docstring test to the new format
parent
4611bcdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
example/example-numpy-dtypes.py
example/example-numpy-dtypes.py
+1
-1
No files found.
example/example-numpy-dtypes.py
View file @
0d7a015f
...
...
@@ -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
)
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
)
print
(
arr
.
dtype
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment