[Biopython-dev] run_tests.py rewrite

Peter biopython at maubp.freeserve.co.uk
Tue Feb 3 14:02:25 UTC 2009


Michiel,

I've noticed that for print-and-compare tests we can get unexpected
errors from the line:
module = __import__(name)

For example, if there is an IOError in test_SeqIO_online.py this does
not get caught - we only try to catch a
MissingExternalDependencyError.  Perhaps we should also catch any
generic exception and report that test as a failure.  Otherwise, the
run_test.py file terminates prematurely.

Would you like to look into this, or should I?

Peter



More information about the Biopython-dev mailing list