<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/testing/tests, branch v1.13.2</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>ENH: Spelling fixes</title>
<updated>2017-05-09T09:16:14+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2017-05-09T09:16:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ef5684564e3074daf614846f30bfdd7f15f5254f'/>
<id>ef5684564e3074daf614846f30bfdd7f15f5254f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Remove warning filters from comparison assert functions</title>
<updated>2017-05-07T14:21:30+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2016-12-26T21:55:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=92aa4080f2a925ff6d03d0b9f80460a53d4c111c'/>
<id>92aa4080f2a925ff6d03d0b9f80460a53d4c111c</id>
<content type='text'>
These warning filters are not threadsafe, while it is nicer if the
comparison functions can be called in a threaded environment since
they do no explicite warning checking.

Less filters are also cleaner in general, though may also mean that
downstream projects see warnings that were previously hidden.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These warning filters are not threadsafe, while it is nicer if the
comparison functions can be called in a threaded environment since
they do no explicite warning checking.

Less filters are also cleaner in general, though may also mean that
downstream projects see warnings that were previously hidden.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure inf/nan removal in assert_array_compare is matrix-safe.</title>
<updated>2017-01-11T17:23:35+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2017-01-11T15:36:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=960ec0a4eab51ccc33e6a030d870f93300656df4'/>
<id>960ec0a4eab51ccc33e6a030d870f93300656df4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG assert_almost_equal fails on subclasses that cannot handle bool</title>
<updated>2017-01-09T14:40:03+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2017-01-06T22:12:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=fe46cd691cde2a707ea727d65414cf7285969bbe'/>
<id>fe46cd691cde2a707ea727d65414cf7285969bbe</id>
<content type='text'>
gh-8410 breaks a large number of astropy tests, because it sets up
a boolean array for values that should actually be compared (i.e.,
are not `nan` or `inf`) using `zeros_like`. The latter means that
for subclasses, the boolean test array is not a plain `ndarray` but
the subclass. But for astropy's `Quantity`, the `all` method is
undefined.

This commit ensures the test arrays from `isinf` and `isnan` are
used directly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gh-8410 breaks a large number of astropy tests, because it sets up
a boolean array for values that should actually be compared (i.e.,
are not `nan` or `inf`) using `zeros_like`. The latter means that
for subclasses, the boolean test array is not a plain `ndarray` but
the subclass. But for astropy's `Quantity`, the `all` method is
undefined.

This commit ensures the test arrays from `isinf` and `isnan` are
used directly.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Added test that np.inf is not approx. -np.inf</title>
<updated>2017-01-04T21:36:47+00:00</updated>
<author>
<name>Jonathan Tammo Siebert</name>
<email>siebertjonathan@aim.com</email>
</author>
<published>2016-12-19T06:29:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a2f9fe71ce3e2d4a0c8622617a852551feadf01a'/>
<id>a2f9fe71ce3e2d4a0c8622617a852551feadf01a</id>
<content type='text'>
This failed to raise AssertionError in an earlier rewrite of
assert_array_compare and is thus tested explicitly now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This failed to raise AssertionError in an earlier rewrite of
assert_array_compare and is thus tested explicitly now.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Added unit tests for assert_array_less</title>
<updated>2017-01-04T21:36:47+00:00</updated>
<author>
<name>Jonathan Tammo Siebert</name>
<email>siebertjonathan@aim.com</email>
</author>
<published>2016-12-19T06:27:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=617707ec85f2ee59e618bce78d9751414c93d6cb'/>
<id>617707ec85f2ee59e618bce78d9751414c93d6cb</id>
<content type='text'>
Added tests for simple arrays/elements,
tests that ensure that nans are not compared when they are in the same
position in both arrays but raise AssertionError when they are not,
and tests that ensure inf logic
(-np.inf &lt; np.inf, 1.0 &lt; np.inf, -np.inf &lt; 1.0)
and that all other cases fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added tests for simple arrays/elements,
tests that ensure that nans are not compared when they are in the same
position in both arrays but raise AssertionError when they are not,
and tests that ensure inf logic
(-np.inf &lt; np.inf, 1.0 &lt; np.inf, -np.inf &lt; 1.0)
and that all other cases fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: make `assert_allclose` behavior on `nan`s match pre 1.12</title>
<updated>2016-10-20T02:04:59+00:00</updated>
<author>
<name>Josh Wilson</name>
<email>person142@users.noreply.github.com</email>
</author>
<published>2016-10-20T02:04:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=41aee80cc64d5679ca8cb9e8ce6247c738b942d4'/>
<id>41aee80cc64d5679ca8cb9e8ce6247c738b942d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Add tests for assert_allclose(..., equal_nan={True|False})</title>
<updated>2016-10-17T22:18:48+00:00</updated>
<author>
<name>Antti Kaihola</name>
<email>antti.kaihola@eniram.fi</email>
</author>
<published>2016-10-12T19:50:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8077d85832ba45d24c62dcae0111b9320de1602c'/>
<id>8077d85832ba45d24c62dcae0111b9320de1602c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Make warning testing context managers more specific</title>
<updated>2016-09-02T08:10:55+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2016-06-19T11:12:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=968507bdfb4467d5ec6e3b6999a5717100782c3c'/>
<id>968507bdfb4467d5ec6e3b6999a5717100782c3c</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Simplify deprecation test decorator</title>
<updated>2016-09-02T08:10:55+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2016-06-19T11:13:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=29a45efa15cf3992ab01b1535d51189319a7592d'/>
<id>29a45efa15cf3992ab01b1535d51189319a7592d</id>
<content type='text'>
Also modify the corresponding test to suppress the non Deprecation
warnings created to test specificity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also modify the corresponding test to suppress the non Deprecation
warnings created to test specificity.
</pre>
</div>
</content>
</entry>
</feed>
