[Biopython-dev] docstring tests

Bruce Southey bsouthey at gmail.com
Thu Feb 12 14:39:03 UTC 2009


Peter wrote:
> 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
>   
Hi,
Thanks!
I just update from the cvs and all the tests currently pass on Linux for 
Python versions 2.3 (no doctests), 2.4, 2.5 (with and without numpy) and 
2.6.

Bruce



More information about the Biopython-dev mailing list