[Biopython-dev] Test python 2.6
Peter
biopython at maubp.freeserve.co.uk
Tue Oct 26 12:41:57 EDT 2010
On Tue, Oct 26, 2010 at 5:28 PM, Dragoslav Zaric
<zaricdragoslav at gmail.com> wrote:
> Dear Peter,
>
> I run
>
> python run_tests.py in Tests folder with python 2.6.2 I got one error
> in test file test_SeqIO_online.py
> I open the file and went to line that caused error and it looks like
> it is not functional error, it is just data error, because there is no data
> for in database for supplied parameters:
>
> ("genome", ["fasta", "gb"], "X52960", 248, "Ktxz0HgMlhQmrKTuZpOxPZJ6zGU")
>
> So I commented this line and leave other two and all tests passed after this.
I'd noticed that failing a little while back, and had assumed it was just a
temporary network problem. In fact looks like the NCBI have changed
how searching against the genome database works. This update fixes
the test on Python 2.6:
http://github.com/biopython/biopython/commit/ad1dd31828c1488c72bffba3bc769c012439ea90
> Anyway, now I am installing python 3.1.2 and will run tests when
> finish installation.
Note there are some known failures on Python 3, this includes
test_SeqIO_online.py (bytes vs unicode).
Peter
More information about the Biopython-dev
mailing list