I'm about to reinstall numpy and scipy on my Ubuntu Lucid. As these things carry quite a few dependencies, I'm wondering if there is a comprehensive test suite to check if the new install really works.
numpy
scipy
Of course, I can just take a bunch of my scripts and run them one by one to see if they keep working, but that won't guard against a situation where at some point in the future I'll try to use something I didn't use before and it'll break (or, worse, silently produce nonsence).
Yes. Both packages have a test method for this.
test
import numpy numpy.test('full') import scipy scipy.test('full')
Note that if you do not have nose installed, it will tell you that you need it.
2.1m questions
2.1m answers
60 comments
57.0k users