[Biopython-dev] Fwd: buildbot failure in Biopython on Windows XP - Python 2.6
Peter Cock
p.j.a.cock at googlemail.com
Fri Jun 1 04:50:47 EDT 2012
Hi Eric,
Unfortunately your recent commit broke things everywhere except
Python 2.7 and Python 3.2,
https://github.com/biopython/biopython/commit/94c128bd428cc5d53b50edd1d2e4730ee212f530
======================================================================
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 143, in test_root_at_midpoint
delta=orig_tree_len*0.001)
TypeError: assertAlmostEqual() got an unexpected keyword argument 'delta'
----------------------------------------------------------------------
Looking at the current documentation (Python 2.7), there is no mention
that the 'delta' keyword is new:
http://docs.python.org/library/unittest.html#unittest.TestCase.assertAlmostEqual
However, looking at the older documentation the 'delta' keyword
was not mentioned, so together with the pattern of failures, I infer
it was new in Python 2.7.
http://docs.python.org/release/2.6.7/library/unittest.html#unittest.TestCase.assertNotAlmostEqual
Can you switch to using the places argument instead?
Peter
---------- Forwarded message ----------
From: <biopython-dev at biopython.org>
Date: Fri, Jun 1, 2012 at 4:53 AM
Subject: buildbot failure in Biopython on Windows XP - Python 2.6
To: p.j.a.cock at googlemail.com, tiagoantao at gmail.com
The Buildbot has detected a new failure on builder Windows XP - Python
2.6 while building Biopython.
Full details are available at:
http://testing.open-bio.org/biopython/builders/Windows%20XP%20-%20Python%202.6/builds/499
Buildbot URL: http://testing.open-bio.org/biopython/
Buildslave for this Build: peter_win32
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