<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/matrixlib/tests/test_defmatrix.py, branch v1.18.4</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: 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>TST: Replace calls to unittest.TestCase.fail (#11933)</title>
<updated>2018-09-13T02:49:37+00:00</updated>
<author>
<name>Roman Yurchak</name>
<email>rth.yurchak@pm.me</email>
</author>
<published>2018-09-13T02:49:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=88cbd3d857db84cf820a6210fde14814f1d1d92b'/>
<id>88cbd3d857db84cf820a6210fde14814f1d1d92b</id>
<content type='text'>
After the pytest migration, test classes no longer inherit
from unittest.TestCase and and the fail method does not
exist anymore.

In all these cases, we can use assert_raises and assert_raises_regex instead
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After the pytest migration, test classes no longer inherit
from unittest.TestCase and and the fail method does not
exist anymore.

In all these cases, we can use assert_raises and assert_raises_regex instead
</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>TST: Add tests for expand_dims</title>
<updated>2018-07-31T05:49:15+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-07-31T05:49:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=455b5c567f75486b121c33f82bcb8f8da9683b5a'/>
<id>455b5c567f75486b121c33f82bcb8f8da9683b5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Ignore PendingDeprecationWarning in matrixlib tests.</title>
<updated>2018-05-29T17:57:33+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2018-05-22T19:56:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=86f487cd9c634f778d7b6ce8184c367d9e423fd6'/>
<id>86f487cd9c634f778d7b6ce8184c367d9e423fd6</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 matrix_power to linalg</title>
<updated>2018-04-29T15:18:15+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2018-04-27T14:05:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e3eeec78a902cb2fcbf67d8c4e1ffc6141ed68f3'/>
<id>e3eeec78a902cb2fcbf67d8c4e1ffc6141ed68f3</id>
<content type='text'>
The docstring already assumed it was in linalg, and this ensures
linalg becomes completely independent of matrixlib.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The docstring already assumed it was in linalg, and this ensures
linalg becomes completely independent of matrixlib.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove all uses of run_module_suite.</title>
<updated>2018-04-07T00:20:56+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-04-04T16:33:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7bf0564f87511d9e7b6287b3eec0857d0d7742df'/>
<id>7bf0564f87511d9e7b6287b3eec0857d0d7742df</id>
<content type='text'>
That function is nose specific and has not worked since `__init__` files
were added to the tests directories.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That function is nose specific and has not worked since `__init__` files
were added to the tests directories.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Fix minor typos</title>
<updated>2018-03-30T13:33:39+00:00</updated>
<author>
<name>luz.paz</name>
<email>luzpaz@users.noreply.github.com</email>
</author>
<published>2018-03-30T13:33:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=108d01a0a4eea38ed5b8e88de34ee2d0324fec65'/>
<id>108d01a0a4eea38ed5b8e88de34ee2d0324fec65</id>
<content type='text'>
Found via `codespell -q 3 -I ../numpy-whitelist.txt`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found via `codespell -q 3 -I ../numpy-whitelist.txt`</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Import abstract classes from collections.abc</title>
<updated>2018-03-14T20:14:55+00:00</updated>
<author>
<name>Frederick Lefebvre</name>
<email>fredlef@amazon.com</email>
</author>
<published>2018-03-14T03:33:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=53b358ce7eddf78ac2bc22045fbe25e91e663b9a'/>
<id>53b358ce7eddf78ac2bc22045fbe25e91e663b9a</id>
<content type='text'>
Abstract collection classes accessed from the collections module
have been deprecated since Python 3.3. They should be
accessed through collections.abc. When run with Python
3.7, the deprecation warning cause multiple tests to
fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Abstract collection classes accessed from the collections module
have been deprecated since Python 3.3. They should be
accessed through collections.abc. When run with Python
3.7, the deprecation warning cause multiple tests to
fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Be explicit about allowing all integer types in matrix exponentiation</title>
<updated>2017-08-06T02:49:34+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2017-08-01T17:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=6a119c982463097aebc8d004fc731b424721a650'/>
<id>6a119c982463097aebc8d004fc731b424721a650</id>
<content type='text'>
Fixes gh-9506, unsigned exponentiation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes gh-9506, unsigned exponentiation
</pre>
</div>
</content>
</entry>
</feed>
