<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/_pytesttester.py, branch eric-wieser-patch-1</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>DOC: fix example for __call__. See #12451</title>
<updated>2018-12-03T02:17:46+00:00</updated>
<author>
<name>Edgar Giovanni Lepe</name>
<email>lepe.edgar10@gmail.com</email>
</author>
<published>2018-12-03T02:17:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b1ffafbf4b93fb5c01e0216ee018e64596d7f33b'/>
<id>b1ffafbf4b93fb5c01e0216ee018e64596d7f33b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix matrix PendingDeprecationWarning suppression for pytest 3.8+.</title>
<updated>2018-09-06T22:52:20+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-09-06T19:17:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3f111a429195c3b892240bb22a67e39cf2230bdd'/>
<id>3f111a429195c3b892240bb22a67e39cf2230bdd</id>
<content type='text'>
Pytest &lt; 3.8 ignored warnings issued during test collection, but that
changed in pytest 3.8 and the method NumPy used to suppress the
PendingDeprecationWarning for matrices no longer worked, or rather, was
exposed as not working. The fix here is to suppress the warning in
pytest.ini and pytesttester.py , which should work as long as the tests
are the only places left where NumPy uses matrices.

An alternate fix is to delay the construction of matrices in the tests
until they are actually run, which has the virtue of test localization
but is a bit more complicated.

See https://github.com/pytest-dev/pytest/issues/3945 for discussion.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pytest &lt; 3.8 ignored warnings issued during test collection, but that
changed in pytest 3.8 and the method NumPy used to suppress the
PendingDeprecationWarning for matrices no longer worked, or rather, was
exposed as not working. The fix here is to suppress the warning in
pytest.ini and pytesttester.py , which should work as long as the tests
are the only places left where NumPy uses matrices.

An alternate fix is to delay the construction of matrices in the tests
until they are actually run, which has the virtue of test localization
but is a bit more complicated.

See https://github.com/pytest-dev/pytest/issues/3945 for discussion.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Move pytesttester outside of np.testing, to avoid creating unnecessary import dependencies</title>
<updated>2018-07-02T16:08:48+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-07-01T22:23:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=11302b66fec3e9f64e0eb77075344acec65d2c0f'/>
<id>11302b66fec3e9f64e0eb77075344acec65d2c0f</id>
<content type='text'>
pytesttester is used by every single subpackage, so making it depend on np.testing just creates cyclic dependencies that can lead to circular imports

Relates to #11457
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pytesttester is used by every single subpackage, so making it depend on np.testing just creates cyclic dependencies that can lead to circular imports

Relates to #11457
</pre>
</div>
</content>
</entry>
</feed>
