[Biopython-dev] Failure in test_Phylo; `format_branchlength` parameter to NewickIO writers.
Peter Cock
p.j.a.cock at googlemail.com
Thu Jun 16 19:15:30 UTC 2011
Hi all,
Looking at the Python 2.5 on Windows buildbot, there is a recent failure:
http://testing.open-bio.org:8010/builders/Windows%20XP%20-%20Python%202.5
======================================================================
FAIL: Custom format string for Newick branch length serialization.
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\repositories\BuildBot\win25\build\Tests\test_Phylo.py",
line 52, in test_format_branch_length
self.assertEqual(mem_file.getvalue().strip(), 'A:1e-01;')
AssertionError: 'A:1e-001;' != 'A:1e-01;'
----------------------------------------------------------------------
Last known good build was 2c30a0cb7e32fe4a4e2e5bc5573778ba07fa1b83
http://testing.open-bio.org:8010/builders/Windows%20XP%20-%20Python%202.5/builds/223
Bug present in 3f911d5d0683437f26d6c40d109506f8bdcd1298
http://testing.open-bio.org:8010/builders/Windows%20XP%20-%20Python%202.5/builds/224
Also in latest, 60f28efdfe19fdcb2bb3ca4dc2ca6a222be97394
http://testing.open-bio.org:8010/builders/Windows%20XP%20-%20Python%202.5/builds/225
It looks like something from the changes on 2011-05-26 is to blame,
and a platform specific floating point assumption in the test.
Peter
More information about the Biopython-dev
mailing list