Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
dd64df73
Unverified
Commit
dd64df73
authored
Oct 03, 2023
by
Mateusz Sokół
Committed by
GitHub
Oct 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MAINT: Remove np.int_ (#4867)
parent
0a756c0b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
tests/test_numpy_array.py
+1
-1
No files found.
tests/test_numpy_array.py
View file @
dd64df73
...
...
@@ -298,7 +298,7 @@ def test_constructors():
results
=
m
.
converting_constructors
([
1
,
2
,
3
])
for
a
in
results
.
values
():
np
.
testing
.
assert_array_equal
(
a
,
[
1
,
2
,
3
])
assert
results
[
"array"
]
.
dtype
==
np
.
int_
assert
results
[
"array"
]
.
dtype
==
np
.
dtype
(
int
)
assert
results
[
"array_t<int32>"
]
.
dtype
==
np
.
int32
assert
results
[
"array_t<double>"
]
.
dtype
==
np
.
float64
...
...
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