<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/tests/test_scripts.py, 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: Use `is None` or `is not None` instead of `== None` or `!= None`.</title>
<updated>2016-02-16T01:18:13+00:00</updated>
<author>
<name>Dongjoon Hyun</name>
<email>dongjoon@apache.org</email>
</author>
<published>2016-02-16T01:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c854818b60d904e2dbaa48710490441a63d0f836'/>
<id>c854818b60d904e2dbaa48710490441a63d0f836</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Fixed f2py test for Anaconda non-win32</title>
<updated>2016-02-02T20:39:26+00:00</updated>
<author>
<name>gfyoung</name>
<email>gfyoung17@gmail.com</email>
</author>
<published>2016-02-02T19:34:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=69a2ca41e2316e0eaa11ac2b9a618926815dad6d'/>
<id>69a2ca41e2316e0eaa11ac2b9a618926815dad6d</id>
<content type='text'>
When you run 'python -V' under Anaconda, it
returns for example, 'Python 3.4.3 :: Continuum
Analytics, Inc.' However, the original parsing
of the version in 'test_f2py' assumed there was
nothing following the version number, causing a
ValueError because you can't assign three
variables to four components that you get from
splitting on the '.'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When you run 'python -V' under Anaconda, it
returns for example, 'Python 3.4.3 :: Continuum
Analytics, Inc.' However, the original parsing
of the version in 'test_f2py' assumed there was
nothing following the version number, causing a
ValueError because you can't assign three
variables to four components that you get from
splitting on the '.'
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Fixed f2py test for non-versioned python executables</title>
<updated>2016-01-25T21:50:12+00:00</updated>
<author>
<name>gfyoung</name>
<email>gfyoung@mit.edu</email>
</author>
<published>2016-01-25T21:07:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=588a1c3e42302418de80eb5f7da4ad375228396e'/>
<id>588a1c3e42302418de80eb5f7da4ad375228396e</id>
<content type='text'>
The 'sys.executable' can come in various names, but
the three main ones are "python", "python{major_version}",
and "python{major_version.minor_version}". The current
version of the f2py test assumes that only the latter
two are used. Since "f2py" is generally versioned,
using the executable basename "python" will make it
impossible to find. This commit fixes that issue
by using a sure-fire way of getting the Python version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'sys.executable' can come in various names, but
the three main ones are "python", "python{major_version}",
and "python{major_version.minor_version}". The current
version of the f2py test assumes that only the latter
two are used. Since "f2py" is generally versioned,
using the executable basename "python" will make it
impossible to find. This commit fixes that issue
by using a sure-fire way of getting the Python version.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Fixed f2py test for win32 virtualenv</title>
<updated>2016-01-25T19:20:35+00:00</updated>
<author>
<name>gfyoung</name>
<email>gfyoung@mit.edu</email>
</author>
<published>2016-01-25T18:37:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d3d2f8e92cd08bb64cc520cf714bc70fb31909ce'/>
<id>d3d2f8e92cd08bb64cc520cf714bc70fb31909ce</id>
<content type='text'>
Fixed test_scripts.test_f2py test so that
it can pass correctly on win32 virtualenvs,
in which the Python executable and the
f2py.py file are both in the Scripts
directory.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed test_scripts.test_f2py test so that
it can pass correctly on win32 virtualenvs,
in which the Python executable and the
f2py.py file are both in the Scripts
directory.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: ignore exceptions in numpy/tests/test_scripts.py/test_f2p</title>
<updated>2015-12-26T23:04:12+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-12-26T22:58:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e89d9bb2e16c1746ce234b81aff4731277b31ddd'/>
<id>e89d9bb2e16c1746ce234b81aff4731277b31ddd</id>
<content type='text'>
The test was checking whether the f2py script was installed as either of
two names, but was only catching OSError, so the second check was
skipped if the first failed for another reason. The caused the
runtests.py script to fail it does not install the script as f2py but
rather with the python version appended.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test was checking whether the f2py script was installed as either of
two names, but was only catching OSError, so the second check was
skipped if the first failed for another reason. The caused the
runtests.py script to fail it does not install the script as f2py but
rather with the python version appended.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix use of python 3 only FileNotFoundError in test_f2py.</title>
<updated>2015-12-16T23:59:52+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-12-16T23:59:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4ddc2a5850ac3d8a0514a6330ef7350022ee262b'/>
<id>4ddc2a5850ac3d8a0514a6330ef7350022ee262b</id>
<content type='text'>
Also rewrite error messages so that they read more like warnings
than errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also rewrite error messages so that they read more like warnings
than errors.
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: test f2py, fallback on f2py2.7 etc., fixes #6718</title>
<updated>2015-12-05T18:08:10+00:00</updated>
<author>
<name>Jörn Hees</name>
<email>joernhees@users.noreply.github.com</email>
</author>
<published>2015-12-02T15:48:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e3243e2110842132ec3ebfe1d9f7857ec58ffd34'/>
<id>e3243e2110842132ec3ebfe1d9f7857ec58ffd34</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: on Windows run f2py from the Scripts directory</title>
<updated>2015-08-01T23:55:03+00:00</updated>
<author>
<name>Christoph Gohlke</name>
<email>cgohlke@uci.edu</email>
</author>
<published>2015-08-01T23:55:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dd220014373f7c0bf0862b5a4548e257858be945'/>
<id>dd220014373f7c0bf0862b5a4548e257858be945</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TEST: add module to test installed scripts</title>
<updated>2015-04-30T20:19:15+00:00</updated>
<author>
<name>Matthew Brett</name>
<email>matthew.brett@gmail.com</email>
</author>
<published>2015-04-29T21:52:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=83e0d1762ed96c5fa142c14546b1f188f8d68ec6'/>
<id>83e0d1762ed96c5fa142c14546b1f188f8d68ec6</id>
<content type='text'>
Module tests whether we can run f2py and return correct version.

Skip this test when running in-place (we don't install f2py in that
case).

Use our own virtualenvs in travis-ci to avoid picking up travis' numpy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Module tests whether we can run f2py and return correct version.

Skip this test when running in-place (we don't install f2py in that
case).

Use our own virtualenvs in travis-ci to avoid picking up travis' numpy.
</pre>
</div>
</content>
</entry>
</feed>
