<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/testing/tests, branch v1.12.0rc1</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>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>
<entry>
<title>STY: Small PEP8 cleanups.</title>
<updated>2016-08-28T19:37:28+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2016-08-28T19:37:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1c218e97f14cf47672cb212e6645002940463ca8'/>
<id>1c218e97f14cf47672cb212e6645002940463ca8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH,TST: Add new warning suppression/filtering context</title>
<updated>2016-08-28T19:30:43+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2016-06-19T11:00:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3c34457ac9e6c11f9197f513013d8ab1ee9d9236'/>
<id>3c34457ac9e6c11f9197f513013d8ab1ee9d9236</id>
<content type='text'>
This context has a couple of advantages over the typical one, and can
ensure that warnings are cleanly filtered without side effect for
later tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This context has a couple of advantages over the typical one, and can
ensure that warnings are cleanly filtered without side effect for
later tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Make assert_almost_equal &amp; assert_array_almost_equal consistent.</title>
<updated>2016-06-19T19:47:20+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2016-06-18T19:00:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=55002a5204240bfaabdc19bd670c50e47881247c'/>
<id>55002a5204240bfaabdc19bd670c50e47881247c</id>
<content type='text'>
This changes the check for scalars in assert_almost_equal so that

    abs(actual - desired) &lt; 1.5 * 10**(-decimal)

Note that the previous documentation claimed that the functions were
equivalent to

    abs(actual - desired) &lt; .5 * 10**(-decimal)

but that was not how they behaved in practice.

Due to the change in implementation, some very delicate tests may fail
that did not fail before. No extra failures were noted in scipy.

Closes #5200.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the check for scalars in assert_almost_equal so that

    abs(actual - desired) &lt; 1.5 * 10**(-decimal)

Note that the previous documentation claimed that the functions were
equivalent to

    abs(actual - desired) &lt; .5 * 10**(-decimal)

but that was not how they behaved in practice.

Due to the change in implementation, some very delicate tests may fail
that did not fail before. No extra failures were noted in scipy.

Closes #5200.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clarify error on repr failure in assert_equal.</title>
<updated>2016-02-20T01:29:49+00:00</updated>
<author>
<name>Antony Lee</name>
<email>anntzer.lee@gmail.com</email>
</author>
<published>2016-02-19T23:02:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=91a86f6715604183741f84d429a3a5c2fc7d7e9e'/>
<id>91a86f6715604183741f84d429a3a5c2fc7d7e9e</id>
<content type='text'>
    assert_equal(np.array([0, 1]), np.matrix([0, 1]))

used to print

     x: array([0, 1])
     y: [repr failed]

now prints

     x: array([0, 1])
     y: [repr failed for &lt;matrix&gt;: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    assert_equal(np.array([0, 1]), np.matrix([0, 1]))

used to print

     x: array([0, 1])
     y: [repr failed]

now prints

     x: array([0, 1])
     y: [repr failed for &lt;matrix&gt;: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()]
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #7042 from charris/revert-7001</title>
<updated>2016-01-17T04:44:13+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2016-01-17T04:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=947b023a4999ec879b745c3e7b903d16d9ae65a1'/>
<id>947b023a4999ec879b745c3e7b903d16d9ae65a1</id>
<content type='text'>
Revert "Merge pull request #7001 from shoyer/NaT-comparison"</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Revert "Merge pull request #7001 from shoyer/NaT-comparison"</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Merge pull request #7001 from shoyer/NaT-comparison"</title>
<updated>2016-01-17T02:06:00+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2016-01-17T02:00:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e0cb3f79936656d6d2f48cbad46a3a9f2bad5ae1'/>
<id>e0cb3f79936656d6d2f48cbad46a3a9f2bad5ae1</id>
<content type='text'>
This reverts commit 7141f40b58ed1e7071cde78ab7bc8ab37e9c5983,
reversing changes made to 8fa6e3bef26a6d4a2c92f2824129aa4409be2590.

The original broke some pandas tests. The current plan to get this
in is

* reversion
* issue FutureWarning in 1.11 and 1.12
* make the change in 1.13.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 7141f40b58ed1e7071cde78ab7bc8ab37e9c5983,
reversing changes made to 8fa6e3bef26a6d4a2c92f2824129aa4409be2590.

The original broke some pandas tests. The current plan to get this
in is

* reversion
* issue FutureWarning in 1.11 and 1.12
* make the change in 1.13.
</pre>
</div>
</content>
</entry>
</feed>
