<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/testing, branch maintenance/1.16.x</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>TST: Add assert_array_equal test for big integer arrays</title>
<updated>2019-12-25T21:12:47+00:00</updated>
<author>
<name>Maxwell Aladago</name>
<email>maxwell.aladago@gmail.com</email>
</author>
<published>2019-08-22T14:43:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=bcb1333f78ba3c8bfb50ae3f78173dbcc2fa97e1'/>
<id>bcb1333f78ba3c8bfb50ae3f78173dbcc2fa97e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Backport improvements to testing functions.</title>
<updated>2019-12-25T21:12:47+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2019-12-25T19:36:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4e6d516c6d620ac9ec867c9ec4726a08f34af1e5'/>
<id>4e6d516c6d620ac9ec867c9ec4726a08f34af1e5</id>
<content type='text'>
This improves the documentation and error messages of the testing
functions and extends `numpy.testing.assert_array_compare` to
more data types.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This improves the documentation and error messages of the testing
functions and extends `numpy.testing.assert_array_compare` to
more data types.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fixed maximum relative error reporting in assert_allclose (gh-13802)</title>
<updated>2019-09-05T20:43:36+00:00</updated>
<author>
<name>CakeWithSteak</name>
<email>37267737+CakeWithSteak@users.noreply.github.com</email>
</author>
<published>2019-09-05T14:20:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9621473347ecdbb8812c967950ed1b93c5b865cc'/>
<id>9621473347ecdbb8812c967950ed1b93c5b865cc</id>
<content type='text'>
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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Ignore DeprecationWarning during nose imports</title>
<updated>2019-06-29T14:22:35+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2019-06-29T04:56:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=01bc3de2a6fd0a7cda8537597baeb787454986f9'/>
<id>01bc3de2a6fd0a7cda8537597baeb787454986f9</id>
<content type='text'>
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)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
<entry>
<title>TEST, ENH: fix tests and ctypes code for PyPy</title>
<updated>2019-06-24T13:57:13+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-06-23T19:12:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=bfd4bed8dc464102bd69db6f72217cf29c03358c'/>
<id>bfd4bed8dc464102bd69db6f72217cf29c03358c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: special case object arrays when printing rel-, abs-error</title>
<updated>2019-05-27T18:56:46+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-05-27T17:17:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6a2ef001f8c91970000318cd11ac0e3c69cc63db'/>
<id>6a2ef001f8c91970000318cd11ac0e3c69cc63db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: add "max difference" messages to np.testing.assert_array_equal (#12591)</title>
<updated>2019-01-17T02:20:08+00:00</updated>
<author>
<name>Stephan Hoyer</name>
<email>shoyer@gmail.com</email>
</author>
<published>2019-01-02T06:50:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c13b3a93d302724401fb0b996c4734a0c0d71fad'/>
<id>c13b3a93d302724401fb0b996c4734a0c0d71fad</id>
<content type='text'>
Example behavior:

&gt;&gt;&gt; x = np.array([1, 2, 3])
&gt;&gt;&gt; y = np.array([1, 2, 3.0001])
&gt;&gt;&gt; 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Example behavior:

&gt;&gt;&gt; x = np.array([1, 2, 3])
&gt;&gt;&gt; y = np.array([1, 2, 3.0001])
&gt;&gt;&gt; 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Review F401,F841,F842 flake8 errors (unused variables and imports) (#12448)</title>
<updated>2018-12-06T19:05:08+00:00</updated>
<author>
<name>Roman Yurchak</name>
<email>rth.yurchak@pm.me</email>
</author>
<published>2018-12-06T19:05:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=45cef38cda80868355a920b5e94211dcf662ea07'/>
<id>45cef38cda80868355a920b5e94211dcf662ea07</id>
<content type='text'>
* Review F401,F841,F842 flake8 errors (unused variables, imports)

* Review comments

* More tests in test_installed_npymath_ini

* Review comments
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Review F401,F841,F842 flake8 errors (unused variables, imports)

* Review comments

* More tests in test_installed_npymath_ini

* Review comments
</pre>
</div>
</content>
</entry>
<entry>
<title>Use set litterals</title>
<updated>2018-11-24T19:59:42+00:00</updated>
<author>
<name>Roman Yurchak</name>
<email>rth.yurchak@pm.me</email>
</author>
<published>2018-11-24T19:59:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=09992482c93f1b9e28b7958a792e6b3b709834fa'/>
<id>09992482c93f1b9e28b7958a792e6b3b709834fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: more fixes for disabling overrides</title>
<updated>2018-11-11T00:12:18+00:00</updated>
<author>
<name>Stephan Hoyer</name>
<email>shoyer@google.com</email>
</author>
<published>2018-11-11T00:12:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b44284ebc42c496e5c5d906acc33ebbc337fd3b1'/>
<id>b44284ebc42c496e5c5d906acc33ebbc337fd3b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
