[Debian-med-packaging] Bug#944242: Test issues with BioPython 1.75

Andreas Tille andreas at fam-tille.de
Tue Dec 3 21:13:33 GMT 2019


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