| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | MAINT: Remove unnecessary 'from __future__ import ...' statements | Jon Dufresne | 2020-01-03 | 11 | -22/+0 | |
| | | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior. | |||||
| * | Merge pull request #15178 from rgommers/maxulp-msg | Charles Harris | 2020-01-02 | 1 | -2/+3 | |
| |\ | | | | | TST: improve assert message of assert_array_max_ulp | |||||
| | * | TST: improve assert message of assert_array_max_ulp | Ralf Gommers | 2019-12-26 | 1 | -2/+3 | |
| | | | | | | | | | | | | | It was not showing the max difference before, which makes it hard to judge whether something is seriously wrong, or the test precision simply needs to be bumped by a little. | |||||
| * | | MAINT: better way of indicating whether numpy was built with ILP64 BLAS | Pauli Virtanen | 2020-01-01 | 1 | -2/+2 | |
| |/ | ||||||
| * | TST: Add assert_array_equal test for big integer arrays | Maxwell Aladago | 2019-12-25 | 1 | -0/+15 | |
| | | ||||||
| * | Fix typos, via a Levenshtein-style corrector | Brian Wignall | 2019-12-19 | 1 | -1/+1 | |
| | | ||||||
| * | MAINT: Fix randint 0d limits and other 0d cleanups (#15126) | Nico Schlömer | 2019-12-18 | 1 | -3/+3 | |
| | | | | * MAINT: only treat 0d case separately in randint, simplify some tests | |||||
| * | ENH: update BLAS symbol suffix/prefix handling in cblasfuncs & linalg | Pauli Virtanen | 2019-12-14 | 1 | -1/+1 | |
| | | | | | Revise the BLAS name mangling to support the general scheme. | |||||
| * | TST: testing: check requires_memory immediately before the test + ignore ↵ | Pauli Virtanen | 2019-12-08 | 1 | -1/+24 | |
| | | | | | MemoryErrors | |||||
| * | TST: fix up issues in requires_memory decorator | Pauli Virtanen | 2019-12-04 | 2 | -9/+6 | |
| | | | | | Fix wrong multiplier for /proc/meminfo, and do style cleanups. | |||||
| * | TST: linalg: add smoke test for 64-bit blas | Pauli Virtanen | 2019-12-01 | 1 | -1/+3 | |
| | | ||||||
| * | TST: add pytest machinery to specify memory requirements for tests | Pauli Virtanen | 2019-12-01 | 2 | -0/+74 | |
| | | ||||||
| * | ENH: add isinf, isnan, fmin, fmax loops for datetime64, timedelta64 (#14841) | Matti Picus | 2019-11-21 | 1 | -15/+27 | |
| | | | | | | | | | `np.datetime('NaT')` should behave more like `float('Nan')`. Add needed infrastructure so `np.isinf(a)` and `np.isnan(a)` will run on `datetime64` and `timedelta64` dtypes. Also added specific loops for `numpy.fmin` and `numpy.fmax` that mask `NaT`. | |||||
| * | DOC: testing: Note handling of scalars in assert_array_equal and assert_equal. | Warren Weckesser | 2019-11-20 | 1 | -5/+22 | |
| | | ||||||
| * | Merge pull request #14567 from rgommers/fix-publicapi-test | Charles Harris | 2019-09-21 | 3 | -48/+0 | |
| |\ | | | | | DEP: remove deprecated (and private) numpy.testing submodules. | |||||
| | * | DEP: remove deprecate (and private) numpy.testing submodules. | Ralf Gommers | 2019-09-21 | 3 | -48/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | Removes these files that were deprecated since 1.15.0: - numpy/testing/decorators.py - numpy/testing/noseclasses.py - numpy/testing/nosetester.py This also resolves a failure in the recently introduced tests in `test_public_api.py` (see gh-14454). Closes gh-14566 | |||||
| * | | TST: ensure coercion tables aren't printed on failing public API test | Ralf Gommers | 2019-09-21 | 1 | -19/+21 | |
| |/ | ||||||
| * | MAINT: Add new deprecation date. | Charles Harris | 2019-09-18 | 1 | -1/+2 | |
| | | | | [ci skip] | |||||
| * | Changing ImportWarning to DeprecationWarning | Brigitta Sipocz | 2019-09-18 | 1 | -1/+1 | |
| | | ||||||
| * | a separate test for scalars base on review comments | Maxwell Aladago | 2019-09-08 | 1 | -1/+11 | |
| | | ||||||
| * | adding tests | Maxwell Aladago | 2019-09-06 | 1 | -0/+10 | |
| | | ||||||
| * | assert_array_compare | Maxwell Aladago | 2019-09-06 | 1 | -7/+8 | |
| | | ||||||
| * | BUG: Fixed maximum relative error reporting in assert_allclose (gh-13802) | CakeWithSteak | 2019-09-05 | 2 | -2/+16 | |
| | | | | | | | Fixed maximum relative error reporting in assert_allclose: In cases where the two arrays have zeros at the same positions it will no longer report nan as the max relative error | |||||
| * | BUG: Fix for Python 4 | Hugo | 2019-08-26 | 1 | -10/+9 | |
| | | ||||||
| * | DEP: numpy.testing.rand (#14325) | Maxwell Aladago | 2019-08-22 | 2 | -19/+2 | |
| | | | | * Deprecation: numpy.testing.rand | |||||
| * | ENH: Improve mismatch message of np.testing.assert_array_equal (#14203) | Tim Hoffmann | 2019-08-15 | 2 | -7/+11 | |
| | | | | | | The original message included "Mismatch: 33.3%". It's not obvious what this percentage means. This commit changes the text to "Mismatched elements: 1 / 3 (33.3%)". | |||||
| * | MAINT: Replace integers in places where booleans are expected | MSeifert04 | 2019-07-01 | 1 | -1/+1 | |
| | | ||||||
| * | TST: Ignore DeprecationWarning during nose imports | Sebastian Berg | 2019-06-28 | 1 | -1/+3 | |
| | | | | | | | Nose is outdated and causes a DeprecationWarning during import, a change in pytest seems to now trip over the warning, so ignore it (in a slightly ugly manner) | |||||
| * | MAINT: Misc. typo fixes (#13664) | luzpaz | 2019-05-31 | 1 | -2/+2 | |
| | | | | | | | * DOC, MAINT: Misc. typo fixes Found via `codespell` | |||||
| * | Merge pull request #13627 from shoyer/revert-nep18-impl | Matti Picus | 2019-05-28 | 1 | -0/+3 | |
| |\ | | | | | MAINT: revert __skip_array_function__ from NEP-18 | |||||
| | * | MAINT: Fixes tests with __array_function__ disabled | Stephan Hoyer | 2019-05-26 | 1 | -0/+3 | |
| | | | ||||||
| * | | BUG: special case object arrays when printing rel-, abs-error | mattip | 2019-05-27 | 2 | -4/+19 | |
| |/ | ||||||
| * | Merge pull request #13518 from hmaarrfk/faster_array_compare | Eric Wieser | 2019-05-12 | 1 | -4/+3 | |
| |\ | | | | | MAINT: implement assert_array_compare without converting array to python list | |||||
| | * | Ensure that reduced is a 1D array | Mark Harfouche | 2019-05-12 | 1 | -1/+1 | |
| | | | ||||||
| | * | Fixup: address eric-wieser's comments | Mark Harfouche | 2019-05-12 | 1 | -5/+3 | |
| | | | ||||||
| | * | MNT: implement assert_array_compare without converting array to python list. | Mark Harfouche | 2019-05-09 | 1 | -4/+5 | |
| | | | ||||||
| * | | Merge pull request #13482 from mattip/durations | Sebastian Berg | 2019-05-11 | 1 | -0/+1 | |
| |\ \ | | | | | | | TEST: add duration report to tests, speed up two outliers | |||||
| | * | | TEST: tweak two slow tests to speed them up | mattip | 2019-05-11 | 1 | -0/+1 | |
| | |/ | ||||||
| * | | DOC: testing: Mention the handling of nan in the assert_equal docstring. | Warren Weckesser | 2019-05-05 | 1 | -0/+10 | |
| |/ | ||||||
| * | DOC: defaults in allclose not the same as in assert_allclose (#13395) | Dieter Werthmüller | 2019-04-25 | 1 | -3/+3 | |
| | | | | * DOC: defaults in allclose not the same as in assert_allclose | |||||
| * | MAINT: move gc.collect to function (from review) | mattip | 2019-04-19 | 1 | -1/+19 | |
| | | ||||||
| * | DEV: add pypy3 to azure CI | mattip | 2019-04-16 | 1 | -0/+1 | |
| | | ||||||
| * | ENH: __array_function__ updates for NumPy 1.17.0 | Stephan Hoyer | 2019-01-22 | 1 | -3/+2 | |
| | | | | | | | | | | | - Always enable __array_function__ overrides. - Remove special cases for Python 2 compatibility. - Document these changes in 1.17.0-notes.rst. It will be good to see ASV numbers to understand the performance implications of these changes. If need be, we can speed up NumPy functions internally by using non-dispatched functions (with ``.__wrapped__``). | |||||
| * | ENH: add "max difference" messages to np.testing.assert_array_equal (#12591) | Stephan Hoyer | 2019-01-01 | 3 | -135/+185 | |
| | | | | | | | | | | | | | | | | | | | | | | | Example behavior: >>> x = np.array([1, 2, 3]) >>> y = np.array([1, 2, 3.0001]) >>> np.testing.assert_allclose(x, y) AssertionError: Not equal to tolerance rtol=1e-07, atol=0 Mismatch: 33.3% Max absolute difference: 0.0001 Max relative difference: 3.33322223e-05 x: array([1, 2, 3]) y: array([1. , 2. , 3.0001]) Motivation: when writing numerical algorithms, I frequently find myself experimenting to pick the right value of `atol` and `rtol` for `np.testing.assert_allclose()`. If I make the tolerance too generous, I risk missing regressions in accuracy, so I usually try to pick the smallest values for which tests pass. This change immediately reveals appropriate values to use for these parameters, so I don't need to guess and check. | |||||
| * | TST, DOC: enable refguide_check | Tyler Reddy | 2018-12-14 | 1 | -3/+0 | |
| | | | | | | | | | * ported the refguide_check module from SciPy for usage in NumPy docstring execution/ verification; added the refguide_check run to Azure Mac OS CI * adjusted NumPy docstrings such that refguide_check passes | |||||
| * | MAINT: Review F401,F841,F842 flake8 errors (unused variables and imports) ↵ | Roman Yurchak | 2018-12-06 | 3 | -5/+4 | |
| | | | | | | | | | | | | | (#12448) * Review F401,F841,F842 flake8 errors (unused variables, imports) * Review comments * More tests in test_installed_npymath_ini * Review comments | |||||
| * | Use set litterals | Roman Yurchak | 2018-11-24 | 1 | -1/+1 | |
| | | ||||||
| * | MAINT: more fixes for disabling overrides | Stephan Hoyer | 2018-11-10 | 1 | -6/+3 | |
| | | ||||||
| * | Merge pull request #12243 from liwt31/fix_misleading_msg | Matti Picus | 2018-10-23 | 2 | -5/+22 | |
| |\ | | | | | BUG: Fix misleading assert message in assert_almost_equal #12200 | |||||
| | * | BUG: Fix misleading assert message in assert_almost_equal #12200 | wtli@Dirac | 2018-10-23 | 2 | -5/+22 | |
| | | | | | | | | | | | Fixes #12200 by making a copy of the matrix before NaN's are excluded. Add a test for it. | |||||
