[Numpy-discussion] Interaction between Numpy and the nose framework (was : packaging scipy)
Mon Apr 7 11:04:09 CDT 2008
BTW, I stumbled on something strange with the nose framework. If you from
numpy.testing import * in a test file, the nose framework will try to test
the testing module by calling every test* method.
I just mention it there because I think I'm not the only one to do this for
set_package_path, assert_equal, ...
2008/4/7, Gael Varoquaux <firstname.lastname@example.org>:
> On Mon, Apr 07, 2008 at 05:20:47PM +0200, Stéfan van der Walt wrote:
> > I agree, and I think we can come to some compromise -- maybe a
> > numpy.all namespace, that simply imports all the other subpackages.
> For the beginner, "from numpy.all import *" is more confusing than "from
> numpy import *" (which is already confusing).
> I know namespace are good things, but the beginner struggles with them.
> This is why I used the "import *" in my above examples.
> My 2 cents,
> Numpy-discussion mailing list
French PhD student
Website : http://matthieu-brucher.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
LinkedIn : http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion