<br><br><div class="gmail_quote">On Thu, May 31, 2012 at 9:40 AM, Fernando Perez <span dir="ltr"><<a href="mailto:fperez.net@gmail.com" target="_blank">fperez.net@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, May 31, 2012 at 9:29 AM, Fernando Perez <<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>> wrote:<br>
><br>
> I'm kind of stumped right now.<br>
<br>
</div>I've put a full-gore nose log here: <a href="https://gist.github.com/2844633" target="_blank">https://gist.github.com/2844633</a><br>
<br>
The weirdness is the following: a modified exclusions list indeed is<br>
detected by nose, which early on prints:<br>
<br>
nose.selector: DEBUG: plugin setting want<br>
/home/fperez/ipython/ipython/IPython/extensions/cythonmagic.py to<br>
False<br>
nose.selector: DEBUG: wantFile<br>
/home/fperez/ipython/ipython/IPython/extensions/cythonmagic.py? False<br>
nose.selector: DEBUG: plugin setting want<br>
/home/fperez/ipython/ipython/IPython/extensions/cythonmagic.pyc to<br>
False<br>
nose.selector: DEBUG: wantFile<br>
/home/fperez/ipython/ipython/IPython/extensions/cythonmagic.pyc? False<br>
<br>
but further down, something else in the nose machinery backtracks and<br>
now says it does want this file:<br>
<br>
nose.selector: DEBUG: plugin setting want<br>
/home/fperez/ipython/ipython/IPython/extensions/tests/test_cythonmagic.py<br>
to True<br>
nose.selector: DEBUG: wantFile<br>
/home/fperez/ipython/ipython/IPython/extensions/tests/test_cythonmagic.py?<br>
True<br>
nose.loader: DEBUG: load from<br>
/home/fperez/ipython/ipython/IPython/extensions/tests/test_cythonmagic.py<br>
(None)<br>
nose.selector: DEBUG: Test name<br>
/home/fperez/ipython/ipython/IPython/extensions/tests/test_cythonmagic.py<br>
resolved to file<br>
/home/fperez/ipython/ipython/IPython/extensions/tests/test_cythonmagic.py,<br>
module None, call None<br>
nose.selector: DEBUG: Final resolution of test name<br>
/home/fperez/ipython/ipython/IPython/extensions/tests/test_cythonmagic.py:<br>
file /home/fperez/ipython/ipython/IPython/extensions/tests/test_cythonmagic.py<br>
module IPython.extensions.tests.test_cythonmagic call None<br>
nose.importer: DEBUG: Import IPython.extensions.tests.test_cythonmagic<br>
from /home/fperez/ipython/ipython<br>
<br>
Which then proceeds to blow up (this was done in a bare virtualenv<br>
that didn't find my system-installed Cython).<br>
<br>
I have no clue what is making nose ignore the earlier exclusion decision...<br></blockquote><div><br></div><div>It might be related to the fact that it's in the tests dir. I don't think we've excluded a *test* file before, always real code / dirs.</div>
<div><br></div><div>-MinRK</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
<div class="HOEnZb"><div class="h5"><br>
f<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br>