<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/testing/tests, branch pr/19857</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>MAINT: use super() as described by PEP 3135</title>
<updated>2021-03-19T09:14:30+00:00</updated>
<author>
<name>Mike Taves</name>
<email>mwtoews@gmail.com</email>
</author>
<published>2021-03-19T09:03:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=c1aa1af62f6e9fcdda92d6d0991b15051a565814'/>
<id>c1aa1af62f6e9fcdda92d6d0991b15051a565814</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Allow unmodified use of isclose, allclose, etc. with timedelta</title>
<updated>2021-02-04T20:35:12+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-02-04T20:16:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=bcb168a56d1c47b877568ce51ce90a1ced89f007'/>
<id>bcb168a56d1c47b877568ce51ce90a1ced89f007</id>
<content type='text'>
Disallowing timedelta64+float promotion (to timedelta64) in all cases
(previously it was assymetric and "half allowed") meant that isclose,
allclose, np.ma.allclose, and assert_arrays_almost_equal (which uses
isclose), would stop work for timedelta64. Hardcoding that timedelta64
is passed on unmodified retains the old behaviour.

It may make sense to deprecate or change this behaviour in the future,
but for the 1.20 release, the behaviour should be as much unmodified
as possible.

Closes gh-18286
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disallowing timedelta64+float promotion (to timedelta64) in all cases
(previously it was assymetric and "half allowed") meant that isclose,
allclose, np.ma.allclose, and assert_arrays_almost_equal (which uses
isclose), would stop work for timedelta64. Hardcoding that timedelta64
is passed on unmodified retains the old behaviour.

It may make sense to deprecate or change this behaviour in the future,
but for the 1.20 release, the behaviour should be as much unmodified
as possible.

Closes gh-18286
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: move np.testing.dec tests to test_deprecations.py</title>
<updated>2020-12-21T05:25:19+00:00</updated>
<author>
<name>Ryan Polley</name>
<email>rypolley@gmail.com</email>
</author>
<published>2020-12-21T05:25:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=b05294c169438d4e230374f0e9677682d84c0094'/>
<id>b05294c169438d4e230374f0e9677682d84c0094</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove old sys.version_info code</title>
<updated>2020-09-03T10:46:30+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2020-09-02T13:43:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=d09e192f05fae7d2e13735c82714b0bc140a0d9f'/>
<id>d09e192f05fae7d2e13735c82714b0bc140a0d9f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Move and improve test_ignore_nan_ulperror.</title>
<updated>2020-06-14T18:45:05+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2020-06-14T16:45:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=dcf74f6b3b07366d3fa742ed431a3755e1299ccb'/>
<id>dcf74f6b3b07366d3fa742ed431a3755e1299ccb</id>
<content type='text'>
Move test_ignore_nan_ulperror to `numpy/testing/tests/test_utils.py
and extend to all floating types.

Closes 16600.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move test_ignore_nan_ulperror to `numpy/testing/tests/test_utils.py
and extend to all floating types.

Closes 16600.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: cleanup unused imports; avoid redefinition of imports</title>
<updated>2020-02-06T09:16:23+00:00</updated>
<author>
<name>Mike Taves</name>
<email>mwtoews@gmail.com</email>
</author>
<published>2020-02-04T19:21:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=07bf33fbf5be8143aab037dc65aba3086f8badf6'/>
<id>07bf33fbf5be8143aab037dc65aba3086f8badf6</id>
<content type='text'>
* 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)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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)
</pre>
</div>
</content>
</entry>
<entry>
<title>STY: use 'yield from &lt;expr&gt;' for simple cases (#15444)</title>
<updated>2020-01-28T00:12:38+00:00</updated>
<author>
<name>Mike Taves</name>
<email>mwtoews@gmail.com</email>
</author>
<published>2020-01-28T00:12:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=f398a0df8a2105b2fdeaeab54505451169b0a869'/>
<id>f398a0df8a2105b2fdeaeab54505451169b0a869</id>
<content type='text'>
This PR uses simple cases of PEP 380 to rewrite:

for v in g:
    yield v
into:

yield from &lt;expr&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR uses simple cases of PEP 380 to rewrite:

for v in g:
    yield v
into:

yield from &lt;expr&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Python2 Cleanups</title>
<updated>2020-01-21T21:46:27+00:00</updated>
<author>
<name>Seth Troisi</name>
<email>sethtroisi@google.com</email>
</author>
<published>2020-01-21T21:46:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=6737f241454688f6ea59a883f6c6e3fe8eff8e8b'/>
<id>6737f241454688f6ea59a883f6c6e3fe8eff8e8b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove implicit inheritance from object class (#15236)</title>
<updated>2020-01-05T05:53:30+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2020-01-05T05:53:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=c31cc36a8a814ed4844a2a553454185601914a5a'/>
<id>c31cc36a8a814ed4844a2a553454185601914a5a</id>
<content type='text'>
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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove unnecessary 'from __future__ import ...' statements</title>
<updated>2020-01-03T15:48:11+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2019-08-27T11:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=ed1e9659f103260a32536b4a7615393e3b1173dc'/>
<id>ed1e9659f103260a32536b4a7615393e3b1173dc</id>
<content type='text'>
As numpy is Python 3 only, these import statements are now unnecessary
and don't alter runtime behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As numpy is Python 3 only, these import statements are now unnecessary
and don't alter runtime behavior.
</pre>
</div>
</content>
</entry>
</feed>
