| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
argument, or the file is an invalid zip
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* replace most usage of SkipTest() with
pytest.skip()
* where possible, we avoid use of the standard
library SkipTest because unittest skipping
is routed through the pytest nose compatibility
layer in that scenario, which can prevent an easy
trace back to the test line where the skip
occurred
|
|\ \ \ \ \
| | | | | |
| | | | | | |
TST: Add more tests for np.pad
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
rounds to `float`
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The test is marked xfail right now as it is not fixed in master
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
TST: Add a test for np.pad where constant_values is an object
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |/ / / / |
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
After the pytest migration, test classes no longer inherit
from unittest.TestCase and and the fail method does not
exist anymore.
In all these cases, we can use assert_raises and assert_raises_regex instead
|
| | | |
| | | |
| | | |
| | | |
| | | | |
It's a straightforward copy&paste error, but it means not all these
tests get run.
|
|\ \ \ \
| | | | |
| | | | | |
BUG: add type cast check for ediff1d
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
ENH: implement nep 0015: merge multiarray and umath
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(#11813)
Fixes #11809.
* BUG: fix array_split incorrect behavior with array size bigger MAX_INT32
* TST: added test for array_split with array size greater MAX_INT32
* addressed review comments
|
|\ \ \ \
| | | | |
| | | | | |
TST: add broadcast_arrays() kwarg unit test for TypeError
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* broadcast_arrays() is now tested for the case when an invalid
keyword argument is used; the appropriate error string content
is also tested for
* the TypeError message produced in the above case has been restored
to the correct value in Python 3
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Avoid signed overflow in histogram
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When dividing the range between first and last, the formula `(x - first) / (last - first)` is used, where `last >= first`
This falls apart if the types of these variables are signed integers, in which case overflow can occur.
The solution is to force the subtraction result to be unsigned.
This is a regression in 1.15.0
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: Fix regression in intersect1d.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The function was failing for non-ndarray objects that defined
that defined __array__, in particular `xarray.DataArray`. Fix
by calling asanyarray on the inputs, which was done implicitly
before.
Closes #11772.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
TST: Fix urlopen stubbing.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
setup/teardown doesn't work, but setup_module/teardown_module does, at
least in pytest.
|
|\ \ \ \ \ \ \ \
| |_|/ / / / / /
|/| | | | | | | |
DOC: Reduce warnings and cleanup redundant c-api documentation
|
| |/ / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
DOC: Small docstring fixes for old polyfit.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* Remove misleading reference to numpy/polynomial/polynomial/polyfit.
* Add missing period in numpy/polynomial/_polybase.py
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
BUG: Fix regression in np.loadtxt for bz2 text files in Python 2.
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Text bz2 files are not well supported in Python2, and, following the
NumPy upgrade in text handling, loadtxt was raising an error when they
were detected. This led to problems for those few who were using such
files. This patch is a quick fix that issues a RuntimeWarning, then
opens those files under the assumption that they are latin1 encoded.
Caveat emptor.
Closes #11633.
|
| |/ / / / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* DOC: reccomend polynomail.Polynomial over np.polyfit
* update from review
* update from review, fix links
* fix from review
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
"an single" typo pointed out by keithbriggs - see gh-11730.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
DOC: Document average return type
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* fixed grammatical mistakes
* added a space before Example
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* further elaborated the return variable types
* fixed the space error
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
MAINT: improve error message for isposinf and isneginf on complex values
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
converted to arrays
|