[Biopython-dev] [Bug 2511] setup.py problem with del sys.modules["Martel"]

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Jun 10 23:42:52 UTC 2008


------- Comment #3 from biopython-bugzilla at maubp.freeserve.co.uk  2008-06-10 19:42 EST -------
In reply to comment 2, would it make sense for the unit test framework to treat
the mxTextTools (or reportlab, or Numeric) import errors as a missing external

In the unit tests we used to "ignore" any tests which failed with an
ImportError, but have now switched to our own MissingExternalDependencyError

We want to distinguish ImportErrors which are external to Biopython (and
therefore can be considered as missing dependencies) from those internal to
Biopython (perhaps due to refactoring or removal of code - a real unit test
failure).  One way to do this would be in the bits of Biopython that try to
import mxTextTools (or any other module) to raise
MissingExternalDependencyError (or something that is a subclass of both
MissingExternalDependencyError and the built in ImportError).

Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Biopython-dev mailing list