[SciPy-dev] the state of scipy unit tests

Jarrod Millman millman at berkeley.edu
Sun Nov 23 23:25:00 EST 2008


On Sun, Nov 23, 2008 at 7:55 PM,  <josef.pktd at gmail.com> wrote:
> My initial attempts to use decorators were not very successful, since
> nose doesn't allow to decorate test generators. One option would be to
> label most of my test functions with slow, but I haven't tried this
> yet. In the old test system, it was possible to assign levels to the
> tests. I don't know if or how it is possible to label my tests so that
> a few basic ones are run on a low level and the other ones only at
> higher levels.

Fernando Perez wrote some code to allow you to decorate test
generators (he mentioned it in an earlier thread, but I don't think we
followed up on it).  He also raised the question about this at a
Baypiggies meeting and Alex Martelli blogged about his thoughts here:
http://aleaxit.blogspot.com/2008/11/python-introspecting-for-generator-vs.html

I'll talk to Fernando tomorrow and make sure we follow-up on this.

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/



More information about the SciPy-Dev mailing list