[Numpy-svn] [numpy/numpy] 29a45e: MAINT: Simplify deprecation test decorator
GitHub
noreply at github.com
Fri Sep 2 10:12:03 EDT 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 29a45efa15cf3992ab01b1535d51189319a7592d
https://github.com/numpy/numpy/commit/29a45efa15cf3992ab01b1535d51189319a7592d
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/testing/decorators.py
M numpy/testing/tests/test_decorators.py
Log Message:
-----------
MAINT: Simplify deprecation test decorator
Also modify the corresponding test to suppress the non Deprecation
warnings created to test specificity.
Commit: 968507bdfb4467d5ec6e3b6999a5717100782c3c
https://github.com/numpy/numpy/commit/968507bdfb4467d5ec6e3b6999a5717100782c3c
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M doc/release/1.12.0-notes.rst
M numpy/testing/tests/test_utils.py
M numpy/testing/utils.py
Log Message:
-----------
ENH: Make warning testing context managers more specific
This means that warnings of different origin then the one tested for
behave normally. If the normal behaviour is to igonre them this might
decrease specificity in rare cases. In most cases the specificity
will be slightly higher.
Commit: 86b0a5e9c58160bad818ba3a0a6faf38f5ac4d09
https://github.com/numpy/numpy/commit/86b0a5e9c58160bad818ba3a0a6faf38f5ac4d09
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/core/arrayprint.py
M numpy/core/tests/test_datetime.py
M numpy/ma/testutils.py
M numpy/testing/utils.py
Log Message:
-----------
BUG: Suppress common NaT warnings
Printing of datetime arrays used to cause warning due to
comparison warnings in NaT. This is circumvented by using views
to integer values. Part of this should be simplified when
the deprecation is over.
Also fixes a bug with non-native byteorder.
Commit: 78d7cc4f3422826954b067a5b030f0807f85f294
https://github.com/numpy/numpy/commit/78d7cc4f3422826954b067a5b030f0807f85f294
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/core/tests/test_deprecations.py
Log Message:
-----------
MAINT: Add missing teardown in deprecation test case
Commit: c1ddf841f6a48248b946a990ae750505b8b91686
https://github.com/numpy/numpy/commit/c1ddf841f6a48248b946a990ae750505b8b91686
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/lib/nanfunctions.py
M numpy/lib/tests/test_nanfunctions.py
M numpy/lib/tests/test_twodim_base.py
Log Message:
-----------
ENH: Remove warning ignoring from nanfuncs
Comment mentions a speedup, but it seems unsure why it should
be there. Instead use an error state in divide_by_count.
Some extra complex warnings had to be ignored (but those seemed correct)
Commit: 308161c80f4450f05f8399343034308bd18b4e1e
https://github.com/numpy/numpy/commit/308161c80f4450f05f8399343034308bd18b4e1e
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/core/tests/test_einsum.py
M numpy/core/tests/test_function_base.py
M numpy/core/tests/test_memmap.py
M numpy/core/tests/test_multiarray.py
M numpy/core/tests/test_nditer.py
M numpy/core/tests/test_numeric.py
M numpy/core/tests/test_regression.py
M numpy/core/tests/test_scalarmath.py
M numpy/core/tests/test_umath.py
M numpy/lib/tests/test_function_base.py
M numpy/lib/tests/test_io.py
M numpy/linalg/tests/test_linalg.py
M numpy/ma/tests/test_core.py
M numpy/ma/tests/test_extras.py
M numpy/ma/tests/test_mrecords.py
M numpy/ma/tests/test_old_ma.py
M numpy/ma/tests/test_regression.py
M numpy/random/tests/test_random.py
Log Message:
-----------
TST: Use new warnings context manager in all tests
In some places, just remove aparently unnecessary filters.
After this, all cases of ignore filters should be removed from
the tests, making testing (even multiple runs) normally fully
predictable.
Commit: 9bf7d1475468e16b7dcac93eb85338930f16ea4d
https://github.com/numpy/numpy/commit/9bf7d1475468e16b7dcac93eb85338930f16ea4d
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M doc/release/1.12.0-notes.rst
M numpy/testing/nosetester.py
M runtests.py
Log Message:
-----------
ENH: Use new context manager for testing
Making the outer context manager a suppress warnings gives good
control to print warnings only once in release mode and suppress
some specific warnings which cannot be easily avoided otherwise.
Commit: f078cb484aa46dd6834c92ac25c587fa36cd727a
https://github.com/numpy/numpy/commit/f078cb484aa46dd6834c92ac25c587fa36cd727a
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/ma/core.py
Log Message:
-----------
ENH: Masked array simplify copying back of unchanged values
Also silences a spurious warning during tests (the multiplication
could give a warning).
Commit: 2e86117d7ba2b4b0308b05a67b922f6db19a7c02
https://github.com/numpy/numpy/commit/2e86117d7ba2b4b0308b05a67b922f6db19a7c02
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/core/tests/test_regression.py
M numpy/linalg/tests/test_regression.py
Log Message:
-----------
TST: Silence warnings otherwise shown in release mode
These are warnings, which when raised as an error for one reason
or another are already silenced.
Commit: b831444bee734537daeaffd1455eb88663ee3763
https://github.com/numpy/numpy/commit/b831444bee734537daeaffd1455eb88663ee3763
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/distutils/fcompiler/gnu.py
M numpy/distutils/system_info.py
M numpy/distutils/tests/test_system_info.py
Log Message:
-----------
MAINT: Close some filehandlers and PIPEs after being done
The PIPE in the tests caused a ResourceWarning during testing in
python 3.
Commit: 61694be14e678ae49f35205d5af0aee4882e1a70
https://github.com/numpy/numpy/commit/61694be14e678ae49f35205d5af0aee4882e1a70
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/ma/tests/test_core.py
M numpy/ma/tests/test_extras.py
Log Message:
-----------
MAINT: Spell out with and without in ma test functions
they used to be called `..._w_...` and `..._wo_...`.
Commit: 20ea3a25119834c2224e32caebf4f2fb4966edd3
https://github.com/numpy/numpy/commit/20ea3a25119834c2224e32caebf4f2fb4966edd3
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/lib/tests/test_nanfunctions.py
Log Message:
-----------
TST: Replace catch_warnings when recording is not enforced in test_nanfuncs
Commit: 514d13679a55a82a96689679002c4ddc514641ce
https://github.com/numpy/numpy/commit/514d13679a55a82a96689679002c4ddc514641ce
Author: Sebastian Berg <sebastian at sipsolutions.net>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M numpy/lib/tests/test_nanfunctions.py
Log Message:
-----------
TST: Use ComplexWarning suppression only where needed
Commit: 9164f23c19c049e28d4d4825a53bbb01aedabcfc
https://github.com/numpy/numpy/commit/9164f23c19c049e28d4d4825a53bbb01aedabcfc
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-09-02 (Fri, 02 Sep 2016)
Changed paths:
M doc/release/1.12.0-notes.rst
M numpy/core/arrayprint.py
M numpy/core/tests/test_datetime.py
M numpy/core/tests/test_deprecations.py
M numpy/core/tests/test_einsum.py
M numpy/core/tests/test_function_base.py
M numpy/core/tests/test_memmap.py
M numpy/core/tests/test_multiarray.py
M numpy/core/tests/test_nditer.py
M numpy/core/tests/test_numeric.py
M numpy/core/tests/test_regression.py
M numpy/core/tests/test_scalarmath.py
M numpy/core/tests/test_umath.py
M numpy/distutils/fcompiler/gnu.py
M numpy/distutils/system_info.py
M numpy/distutils/tests/test_system_info.py
M numpy/lib/nanfunctions.py
M numpy/lib/tests/test_function_base.py
M numpy/lib/tests/test_io.py
M numpy/lib/tests/test_nanfunctions.py
M numpy/lib/tests/test_twodim_base.py
M numpy/linalg/tests/test_linalg.py
M numpy/linalg/tests/test_regression.py
M numpy/ma/core.py
M numpy/ma/tests/test_core.py
M numpy/ma/tests/test_extras.py
M numpy/ma/tests/test_mrecords.py
M numpy/ma/tests/test_old_ma.py
M numpy/ma/tests/test_regression.py
M numpy/ma/testutils.py
M numpy/random/tests/test_random.py
M numpy/testing/decorators.py
M numpy/testing/nosetester.py
M numpy/testing/tests/test_decorators.py
M numpy/testing/tests/test_utils.py
M numpy/testing/utils.py
M runtests.py
Log Message:
-----------
Merge pull request #7099 from seberg/suppressed_warnings
Suppressed warnings
Compare: https://github.com/numpy/numpy/compare/8eedd3e911b7...9164f23c19c0
More information about the Numpy-svn
mailing list