[Biopython-dev] docstring tests

Peter biopython at maubp.freeserve.co.uk
Wed Feb 11 23:00:25 UTC 2009


On Wed, Feb 11, 2009 at 2:34 PM, Bruce Southey <bsouthey at gmail.com> wrote:
> ... Python 2.4 has an error with docstring tests so it crashes (output below):
>  File "run_tests.py", line 263, in runDocTest
>   module = __import__(name, fromlist=name.split("."))
> TypeError: __import__() takes no keyword arguments

Fixed in run_tests.py CVS revision 1.22, using ordered arguments
instead.  This now works on Python 2.4.  For Python 2.3 we skip the
doctests anyway so this doesn't matter.

Peter



More information about the Biopython-dev mailing list