<br><br><div class="gmail_quote">On Sun, May 22, 2011 at 8:15 PM, Christoph Gohlke <span dir="ltr"><<a href="mailto:cgohlke@uci.edu">cgohlke@uci.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div></div><div class="h5"><br>
<br>
On 5/22/2011 5:51 PM, <a href="mailto:josef.pktd@gmail.com">josef.pktd@gmail.com</a> wrote:<br>
> On Sun, May 22, 2011 at 8:24 PM, Warren Weckesser<br>
> <<a href="mailto:warren.weckesser@enthought.com">warren.weckesser@enthought.com</a>>  wrote:<br>
>> It appears that the tests for scipy.constants are not running.  Here's what<br>
>> I get with trunk:<br>
>><br>
>> $ python -c "import scipy.constants; scipy.constants.test('full')"<br>
>> Running unit tests for scipy.constants<br>
>> NumPy version 1.5.1<br>
>> NumPy is installed in<br>
>> /Library/Frameworks/Python.framework/Versions/7.0/lib/python2.7/site-packages/numpy<br>
>> SciPy version 0.10.0.dev<br>
>> SciPy is installed in<br>
>> /Users/warren/local_tmp/lib/python2.7/site-packages/scipy<br>
>> Python version 2.7.1 |EPD 7.0-1 (32-bit)| (r271:86832, Dec  3 2010,<br>
>> 15:41:32) [GCC 4.0.1 (Apple Inc. build 5488)]<br>
>> nose version 1.0.0<br>
>><br>
>> ----------------------------------------------------------------------<br>
>> Ran 0 tests in 0.000s<br>
>><br>
>> OK<br>
>><br>
>> I get the same with 0.9.0rc2, so the problem may have been around for<br>
>> awhile.<br>
>><br>
>> The tests for other packages run as expected, and if I run nosetests in the<br>
>> constants/tests directory, the test run:<br>
>><br>
>> $ nosetests<br>
>> ..............<br>
>> ----------------------------------------------------------------------<br>
>> Ran 14 tests in 0.451s<br>
>><br>
>> OK<br>
>><br>
>><br>
>> Does anyone else see this?<br>
><br>
> Same here with 0.9, but I have no idea what might be going on, looks<br>
> the same as other subpackages. (Is "constants" are reserved word<br>
> somewhere?)<br>
><br>
> Josef<br>
><br>
>><br>
>> Warren<br>
>><br>
>><br>
<br>
</div></div>On my system the scipy\constants\tests directory is not installed. Seems<br>
there is a `config.add_data_dir('tests')` missing in<br>
scipy\constants\setup.py.<br>
<font color="#888888"><br></font></blockquote><div><br><br>Yes, that's the problem.  Apparently config.add_subpackage('*') is not working as expected.  All the other packages use config.add_data_dir('tests') to include the tests.  I'll push the fix shortly.<br>

<br>Warren<br> <br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font color="#888888">
Christoph<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
SciPy-Dev mailing list<br>
<a href="mailto:SciPy-Dev@scipy.org">SciPy-Dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/scipy-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/scipy-dev</a><br>
</div></div></blockquote></div><br>