8000 MAINT: Update the annotations in `np.core.numeric` by BvB93 · Pull Request #17564 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

MAINT: Update the annotations in np.core.numeric #17564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 21, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to 8000
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TST,MAINT: Moved a few tests to array_constructors
  • Loading branch information
Bas van Beek committed Oct 14, 2020
commit 4e3c6bd71b170667c8c73f0d28fe6f67f5a4252b
8 changes: 0 additions & 8 deletions numpy/typing/tests/data/pass/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ def ndarray_func(x):
array == 1
array.dtype == float

ndarray_func(np.zeros([1, 2]))
ndarray_func(np.ones([1, 2]))
ndarray_func(np.empty([1, 2]))

ndarray_func(np.zeros_like(array))
ndarray_func(np.ones_like(array))
ndarray_func(np.empty_like(array))

# Dtype construction
np.dtype(float)
np.dtype(np.float64)
Expand Down
0