[Biopython-dev] test_PhyloXML.py error on Python 2.4

Peter biopython at maubp.freeserve.co.uk
Thu Apr 8 10:55:29 UTC 2010


Hi Eric,

I noticed that test_PhyloXML.py is failing on Python 2.4, it should
be skipped since I don't have ElementTree installed. Have you got
access to a Python 2.4 installation to look at this?

Thanks

Peter

======================================================================
ERROR: test_PhyloXML
----------------------------------------------------------------------
Traceback (most recent call last):
  File "run_tests.py", line 267, in runTest
    suite = unittest.TestLoader().loadTestsFromName(name)
  File "c:\python24\lib\unittest.py", line 524, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "test_PhyloXML.py", line 15, in ?
    from Bio.Phylo import PhyloXML as PX, PhyloXMLIO
  File "C:\repositories\biopython_official\build\lib.win32-2.4\Bio\Phylo\__init_
_.py", line 12, in ?
    from Bio.Phylo._io import parse, read, write, convert
  File "C:\repositories\biopython_official\build\lib.win32-2.4\Bio\Phylo\_io.py"
, line 15, in ?
    import PhyloXMLIO
  File "C:\repositories\biopython_official\build\lib.win32-2.4\Bio\Phylo\PhyloXM
LIO.py", line 23, in ?
    from Bio.Phylo import PhyloXML as PX
ImportError: cannot import name PhyloXML



More information about the Biopython-dev mailing list