Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | convert shebang from python to python3 (#15687) | Changqing Li | 2020-03-04 | 2 | -2/+2 |
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||||
* | BUG: fix doctest exception messages | mattip | 2020-02-28 | 1 | -5/+12 |
| | |||||
* | DOC: Reword docstring for assert_equal (gh-15614) | Harshal Prakash Patankar | 2020-02-19 | 1 | -1/+1 |
| | |||||
* | BUG: Ignore differences in NAN representation for computing ULP differences | Raghuveer Devulapalli | 2020-02-18 | 1 | -2/+17 |
| | |||||
* | MAINT: cleanup unused imports; avoid redefinition of imports | Mike Taves | 2020-02-06 | 2 | -2/+0 |
| | | | | | | | * Cleanup unused imports (F401) of mostly standard Python modules, or some internal but unlikely referenced modules * Where internal imports are potentially used, mark with noqa * Avoid redefinition of imports (F811) | ||||
* | STY,MAINT: avoid 'multiple imports on one line' (flake8 E401) | Mike Taves | 2020-01-28 | 1 | -1/+3 |
| | | | | | | * PEP 8: "Imports should usually be on separate lines" * Where modified, sort imported modules alphabetically * Clean-up unused imports from these expanded lines | ||||
* | STY: use 'yield from <expr>' for simple cases (#15444) | Mike Taves | 2020-01-27 | 2 | -10/+5 |
| | | | | | | | | | This PR uses simple cases of PEP 380 to rewrite: for v in g: yield v into: yield from <expr> | ||||
* | MAINT: Remove Python2 workarounds | Seth Troisi | 2020-01-23 | 1 | -3/+0 |
| | |||||
* | MAINT: Replace basestring with str. | Charles Harris | 2020-01-23 | 1 | -3/+2 |
| | | | | | | | This replaces basestring with str except in - tools/npy_tempita/ - numpy/compat/py3k.py | ||||
* | Merge pull request #15379 from sethtroisi/misc_cleanups3 | Matti Picus | 2020-01-23 | 1 | -18/+0 |
|\ | | | | | MAINT: Python2 Cleanups | ||||
| * | MAINT: Python2 Cleanups | Seth Troisi | 2020-01-21 | 1 | -18/+0 |
| | | |||||
* | | MAINT: Revise imports from collections.abc module | Mike Taves | 2020-01-22 | 1 | -9/+4 |
| | | |||||
* | | STY: use `with open` when possible | Seth Troisi | 2020-01-21 | 1 | -6/+4 |
|/ | |||||
* | MAINT: Remove sys.version checks in tests | Seth Troisi | 2020-01-15 | 2 | -21/+2 |
| | |||||
* | Merge pull request #15307 from sethtroisi/sys_version_pre | Matti Picus | 2020-01-16 | 1 | -49/+8 |
|\ | | | | | MAINT: cleanup sys.version dependant code | ||||
| * | MAINT: cleanup sys.version dependant code | Seth Troisi | 2020-01-12 | 1 | -49/+8 |
| | | |||||
* | | TST: move _no_tracing to testing._private | mattip | 2020-01-15 | 1 | -0/+21 |
|/ | |||||
* | MAINT: Remove python2 array_getslice and array_setslice (#15263) | Seth Troisi | 2020-01-07 | 1 | -2/+0 |
| | | | These implemented the __getslice__ and __setslice__ methods in Python 2, which no longer exist in Python 3. | ||||
* | Merge pull request #15256 from eric-wieser/use-keyword-only-arguments | Matti Picus | 2020-01-06 | 1 | -2/+1 |
|\ | | | | | MAINT: Implement keyword-only arguments as syntax | ||||
| * | MAINT: Implement keyword-only arguments as syntax | Eric Wieser | 2020-01-06 | 1 | -2/+1 |
| | | | | | | | | Now that 2.7 is gone, there is no need to pop manually from kwarg dictionaries. | ||||
* | | MAINT: Remove references to non-existent sys.exc_clear() | Jon Dufresne | 2020-01-05 | 1 | -3/+0 |
|/ | | | | | sys.exc_clear() was removed in Python 3. All internal uses can be removed. | ||||
* | MAINT: Remove implicit inheritance from object class (#15236) | Jon Dufresne | 2020-01-05 | 7 | -21/+21 |
| | | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python. | ||||
* | 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) |