[Debian-med-packaging] Bug#944242: Test issues with BioPython 1.75
Peter Cock
p.j.a.cock at googlemail.com
Wed Dec 4 13:55:26 GMT 2019
Good. If you are still missing Tests/Fasta/flowers.pro.gz that's odd,
since it was in the official tar ball:
https://files.pythonhosted.org/packages/33/55/becf2b99556588d22b542f3412990bfc79b674e198d9bc58f7bbc333439e/biopython-1.75.tar.gz
Peter
On Tue, Dec 3, 2019 at 9:13 PM Andreas Tille <andreas at fam-tille.de> wrote:
>
> Hi Peter,
>
> On Mon, Dec 02, 2019 at 03:42:21PM +0000, Peter Cock wrote:
> > This was included in Biopython 1.74 and 1.75, yet your copy of Tests/test_psw.py
> > would seem to date from Biopython 1.73 or older.
> >
> > I suspect an old cached copy of the test folder is largely to blame?
>
> Arghhh, sorry for wasting your time. The test examples are in
> python-biopython-doc package which I forgot to update on my local
> machine. I just get:
>
> ======================================================================
> ERROR: test_gzip_fasta (test_SeqIO.TestZipped)
> Testing FASTA with gzip.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/tmp/autopkgtest.vFO6HI/autopkgtest_tmp/Tests/test_SeqIO.py", line 156, in test_gzip_fasta
> with gzip.open("Fasta/flowers.pro.gz", mode) as handle:
> File "/usr/lib/python2.7/gzip.py", line 34, in open
> return GzipFile(filename, mode, compresslevel)
> File "/usr/lib/python2.7/gzip.py", line 94, in __init__
> fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
> IOError: [Errno 2] No such file or directory: 'Fasta/flowers.pro.gz'
>
> ======================================================================
>
>
> (now with the real data).
>
> Kind regards
>
> Andreas.
>
> --
> http://fam-tille.de
More information about the Debian-med-packaging
mailing list