[Biopython-dev] buildbot failure in Biopython on Windows XP - Python 2.6

Peter Cock p.j.a.cock at googlemail.com
Mon Jun 4 17:58:16 EDT 2012


On Fri, Jun 1, 2012 at 5:21 PM, Eric Talevich <eric.talevich at gmail.com> wrote:
>
> Ack, this is what I get for using pydoc. It's fixed now:
> https://github.com/biopython/biopython/commit/2494c77c064e1076bb38f5e929b9e68eaee4f841
>

Almost ;)

It is still failing on (older releases of) Python 3.1 due to
http://bugs.python.org/issue10353

e.g. From http://testing.open-bio.org/biopython/builders/Linux%20-%20Python%203.1/builds/611/steps/shell/logs/stdio

======================================================================
ERROR: test_root_at_midpoint (test_Phylo.TreeTests)
Tree.root_at_midpoint: reroot at the tree's midpoint.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pjcock/repositories/BuildBot/lin31/build/build/py3.1/Tests/test_Phylo.py",
line 142, in test_root_at_midpoint
    self.assertAlmostEqual(deep_dist_0, deep_dist_1, 1)
TypeError: assertAlmostEqual() takes exactly 3 positional arguments (4 given)

----------------------------------------------------------------------

Switching from a positional argument to using the places
keyword will fix it.

Peter


More information about the Biopython-dev mailing list