<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/tests/test_scripts.py, branch v1.18.0</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>BUG,TST: Remove the misguided `run_command` that wraps subprocess in a broken way</title>
<updated>2018-12-19T06:28:25+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2018-12-19T06:28:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=65b1c35de471d396b5e9d4846b7a9bf76bf8c3a2'/>
<id>65b1c35de471d396b5e9d4846b7a9bf76bf8c3a2</id>
<content type='text'>
Also switches to using a parametrized test, for better error messages
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also switches to using a parametrized test, for better error messages
</pre>
</div>
</content>
</entry>
<entry>
<title>DEV: add test for 'python -mnumpy.f2py'</title>
<updated>2018-12-18T04:45:17+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2018-12-18T04:45:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c3b7ed0f1cee6c1a9a24a48fdafba20117dfac2a'/>
<id>c3b7ed0f1cee6c1a9a24a48fdafba20117dfac2a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>removing warnings</title>
<updated>2018-09-25T19:19:05+00:00</updated>
<author>
<name>Eric Schles</name>
<email>erschles@microsoft.com</email>
</author>
<published>2018-09-25T19:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b13c52c9af4dbec3ee2dcae51671eb7bc9059d4f'/>
<id>b13c52c9af4dbec3ee2dcae51671eb7bc9059d4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>updating test file to ignore the failure</title>
<updated>2018-09-25T19:18:23+00:00</updated>
<author>
<name>Eric Schles</name>
<email>erschles@microsoft.com</email>
</author>
<published>2018-09-25T19:18:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1dde1a5ce69a0d21a56b3d8e42f617f93f9a38f0'/>
<id>1dde1a5ce69a0d21a56b3d8e42f617f93f9a38f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>updating f2py to ensure that at least f2py base exists, and doesn't error out if multiple do not</title>
<updated>2018-09-25T16:41:52+00:00</updated>
<author>
<name>Eric Schles</name>
<email>erschles@microsoft.com</email>
</author>
<published>2018-09-25T16:41:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=583398dc4cdf4acb8614eff20796dc61ba967950'/>
<id>583398dc4cdf4acb8614eff20796dc61ba967950</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Use entry_points to install the f2py scripts.</title>
<updated>2018-08-23T19:51:42+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-08-22T17:57:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f22a33b71dc767d81ed60f40c3b84456d2a33f79'/>
<id>f22a33b71dc767d81ed60f40c3b84456d2a33f79</id>
<content type='text'>
This adds entry_points for the f2py scripts. The installed scripts
differ between Windows and other environments.

* On Windows, the only script installed is 'f2py'. This works well in
  that environment because each Python version is installed in its own
  directory, making it easy to keep the differing script versions
  separate.

* Otherwise, three scripts are installed, 'f2py', 'f2py' + 'minor', and
  'f2py' + 'major.minor'. For instance, if Numpy is installed by
  Python 2.7, then the installed scripts will be named 'f2py', 'f2py2',
  and 'f2py2.7'. That naming scheme is used for back compatibility, and
  also so that more than one Python version can be dealt with in a way
  common to many Linux distros. Note that 'f2py' will always point to
  the latest install and 'f2py(2|3)' to the latest Python (2|3) install

The script tests have been modified to check for the new environment
and the code previously used to install the scripts has been removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds entry_points for the f2py scripts. The installed scripts
differ between Windows and other environments.

* On Windows, the only script installed is 'f2py'. This works well in
  that environment because each Python version is installed in its own
  directory, making it easy to keep the differing script versions
  separate.

* Otherwise, three scripts are installed, 'f2py', 'f2py' + 'minor', and
  'f2py' + 'major.minor'. For instance, if Numpy is installed by
  Python 2.7, then the installed scripts will be named 'f2py', 'f2py2',
  and 'f2py2.7'. That naming scheme is used for back compatibility, and
  also so that more than one Python version can be dealt with in a way
  common to many Linux distros. Note that 'f2py' will always point to
  the latest install and 'f2py(2|3)' to the latest Python (2|3) install

The script tests have been modified to check for the new environment
and the code previously used to install the scripts has been removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Switch to using pytest markers</title>
<updated>2018-04-04T12:36:36+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2018-03-25T18:34:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7e5a41de9fab731e27a761c01302a0a93e2d1070'/>
<id>7e5a41de9fab731e27a761c01302a0a93e2d1070</id>
<content type='text'>
Use standard pytest markers everywhere in the numpy tests. At this point
there should be no nose dependency. However, nose is required to test
the legacy decorators if so desired.

At this point, numpy test cannot be run in the way with runtests, rather
installed numpy can be tested with `pytest --pyargs numpy` as long as
that is not run from the repo. Run it from the tools directory or some
such.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use standard pytest markers everywhere in the numpy tests. At this point
there should be no nose dependency. However, nose is required to test
the legacy decorators if so desired.

At this point, numpy test cannot be run in the way with runtests, rather
installed numpy can be tested with `pytest --pyargs numpy` as long as
that is not run from the repo. Run it from the tools directory or some
such.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Rearrange files in numpy/testing module.</title>
<updated>2017-07-05T01:51:58+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2017-07-04T19:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ae84af3b6e6d96e4be408e8a56408290ee1879db'/>
<id>ae84af3b6e6d96e4be408e8a56408290ee1879db</id>
<content type='text'>
The aim here is to separate out the nose dependent files prior to adding
pytest support. This could be done by adding new files to the general
numpy/testing directory, but I felt that it was to have the relevant
files separated out as it makes it easier to completely remove nose
dependencies when needed.

Many places were accessing submodules in numpy/testing directly, and in
some cases incorrectly. That presented a backwards compatibility
problem. The solution adapted here is to have "dummy" files whose
contents will depend on whether of not pytest is active. That way the
module looks the same as before from the outside.

In the case of numpy itself, direct accesses have been fixed. Having
proper `__all__` lists in the submodules helped in that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The aim here is to separate out the nose dependent files prior to adding
pytest support. This could be done by adding new files to the general
numpy/testing directory, but I felt that it was to have the relevant
files separated out as it makes it easier to completely remove nose
dependencies when needed.

Many places were accessing submodules in numpy/testing directly, and in
some cases incorrectly. That presented a backwards compatibility
problem. The solution adapted here is to have "dummy" files whose
contents will depend on whether of not pytest is active. That way the
module looks the same as before from the outside.

In the case of numpy itself, direct accesses have been fixed. Having
proper `__all__` lists in the submodules helped in that.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: KeyboardInterrupt is swallowed all over the place</title>
<updated>2017-06-03T12:59:51+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2017-06-03T12:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1608e53072b035bd40de7a202e75354f0e802120'/>
<id>1608e53072b035bd40de7a202e75354f0e802120</id>
<content type='text'>
Bare except is very rarely the right thing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bare except is very rarely the right thing
</pre>
</div>
</content>
</entry>
</feed>
