[Biopython-dev] New test_Phylo.py test on Python 3
Peter Cock
p.j.a.cock at googlemail.com
Sun Mar 27 13:32:28 UTC 2011
Hi Eric,
You'll need to handle None explicitly for the comparison to pass under
Python 3 (see below), or you get:
Traceback (most recent call last):
...
File "/home/buildslave/BuildBot/lin3264/build/build/py3.2/Tests/test_Phylo.py",
line 280, in <lambda>
tree.collapse_all(lambda c: c.branch_length < 0.1)
TypeError: unorderable types: NoneType() < float()
http://testing.open-bio.org/biopython/builders/Linux%2064%20-%20Python%203.2/builds/100/steps/shell/logs/stdio
http://testing.open-bio.org/biopython/builders/Linux%2064%20-%20Python%203.1/builds/179/steps/shell/logs/stdio
Regards,
Peter
---------- Forwarded message ----------
From: <biopython-dev at biopython.org>
Date: Sun, Mar 27, 2011 at 4:12 AM
Subject: buildbot failure in Biopython on Linux 64 - Python 3.2
To: p.j.a.cock at googlemail.com, tiagoantao at gmail.com
The Buildbot has detected a new failure on builder Linux 64 - Python
3.2 while building Biopython.
Full details are available at:
http://testing.open-bio.org/biopython/builders/Linux%2064%20-%20Python%203.2/builds/100
Buildbot URL: http://testing.open-bio.org/biopython/
Buildslave for this Build: peter_linux64
Build Reason: The Nightly scheduler named 'nightly' triggered this build
Build Source Stamp: HEAD
Blamelist:
BUILD FAILED: failed shell
sincerely,
-The Buildbot
More information about the Biopython-dev
mailing list