| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* fixed doc typo
* fixed lib typos
* fixed lapack_lite typos
* Revert "fixed lapack_lite typos"
This reverts commit e7dada860cb73af190234402508ab79965ecd079.
|
|\
| |
| | |
TST: Extract a helper function to test for reference cycles
|
| |
| |
| |
| |
| |
| | |
This also means we can now test that our test is actually able to detect the type of failure we expect
Trying to give myself some tools to debug the failure at https://github.com/numpy/numpy/pull/10882/files#r180813166
|
|\ \
| | |
| | | |
ENH: Nditer as context manager
|
| | | |
|
|\ \ \
| | | |
| | | | |
DOC: clear up warnings, fix matplotlib plot
|
| | | | |
|
| |/ /
|/| | |
|
|/ /
| |
| |
| | |
Closes #10847
|
| |
| |
| |
| | |
Fixes gh-10780
|
|\ \
| | |
| | | |
BUG: fix savetxt, loadtxt for '+-' in complex
|
| | | |
|
| |/
|/| |
|
|/
|
| |
Now falls back on sturges estimator when the IQR is zero
|
|\
| |
| | |
MAINT: Remove yield tests
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
MAINT: More Histogramdd cleanup
|
| |
| |
| |
| | |
Creates an alias instead
|
| |
| |
| |
| |
| |
| | |
array
The result is left as a float, even though it no longer needs to be, as this commit aims not to change behavior.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
len(xy) == N, and we already checked if N == 0 above.
|
| | |
|
| |
| |
| |
| | |
`x1d[nonzero(mask1d)[0]]` is just a less readable way to spell `x1d[mask1d]`
|
|\ \
| | |
| | | |
MAINT: Post pytest switch cleanup
|
| | |
| | |
| | |
| | |
| | | |
That function is nose specific and has not worked since `__init__` files
were added to the tests directories.
|
|\ \ \
| |/ /
|/| /
| |/ |
BUG/DOC/MAINT: Tidy up histogramdd
|
| |
| |
| |
| | |
Fixes gh-8531
|
| | |
|
| |
| |
| |
| | |
This also adds support for inferring the range along a subset of the axes, rather than an all or nothing approach.
|
| |
| |
| |
| |
| |
| | |
Previously gave `ValueError: object too deep for desired array` from an internal call
This also adds support for 0d array bincounts
|
| |
| |
| |
| |
| | |
This also switches to doing comparisons rather than subtractions, for consistency with np.histogram.
That change is not strictly necessary here as the arguments are not unsigned integer types (unlike in np.histogram), but it would nice to support integer bins in future.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
TST: Switch to pytest
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Numpy can now be tested using the standard
`python -c"import numpy; numpy.test()"`
construct.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use standard pytest markers everywhere in the numpy tests. At this point
there should be no nose dependency. However, nose is required to test
the legacy decorators if so desired.
At this point, numpy test cannot be run in the way with runtests, rather
installed numpy can be tested with `pytest --pyargs numpy` as long as
that is not run from the repo. Run it from the tools directory or some
such.
|
|/ / |
|
|/
|
|
|
| |
The "bench" testing with the old bench files is no longer supported.
These days we use `runtests.py` and `asv`.
|
|
|
|
|
|
| |
The renamed C modules provide low level functions for testing. The
rename marks them as private functions and makes them invisible to
pytest by default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes a few left over uses of unittest. The main changes apart
from removal of Test case are:
* `setUp` replaced by nose and pytest compatible `setup`
* `tearDown` replaced by nose and pytest compatible `teardown`
* `assertRaises` replaced by `assert_raises`
* `assertEqual` replaced by `assert_equal`
The last two are in `numpy/testings/tests/test_utils.py`, so may seem a
but circular, but at least are limited to those two functions.
The use of `setup` and `teardown`, can be fixed up with the pytest
equivalents after we have switched to pytest.
|
|\
| |
| | |
DOC: Move bin estimator documentation from `histogram` to `histogram_bin_edges`
|
| | |
|
| | |
|
|\ \
| |/
|/| |
BUG: fix complex casting error in cov with aweights
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When using cov with a complex input and with aweights specified, cov
will error as a result of trying to cast a complex value into a float64.
This comes about since average is used to calculate the sum of the
weights from aweights. average returns the sum of weights as the same
type as its result, not the weights type. For a complex input m, and
any type for aweights, this would result in a complex value for fact.
It appears the primary purpose of np.float64(fact) is to provide a NaN
value from the divide when fact is an integer zero. This has been
replaced by using numpy.divide to replicate the same behavior, but to
also handle complex types.
|
| |
| |
| |
| |
| | |
Fixes #10183
Documentation is copied from np.histogram
|