Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293892 - dev-python/lxml-2.2.4 fails tests with Python 2.7 (unittest._TextTestResult)
Summary: dev-python/lxml-2.2.4 fails tests with Python 2.7 (unittest._TextTestResult)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL: https://bugs.launchpad.net/lxml/+bug/...
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.7
  Show dependency tree
 
Reported: 2009-11-20 20:44 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2009-11-21 18:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
lxml-2.2.4:20091120-203702.log (lxml-2.2.4:20091120-203702.log,12.99 KB, text/plain)
2009-11-20 20:45 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-20 20:44:12 UTC
dev-python/lxml-2.2.4 fails tests with Python 2.7.
It tries to use private unittest._TextTestResult which has been removed.

 * Testing of dev-python/lxml-2.2.4 with Python 2.7...
 * Running test.py
Traceback (most recent call last):
  File "test.py", line 305, in <module>
    class CustomTestResult(unittest._TextTestResult):
AttributeError: 'module' object has no attribute '_TextTestResult'
 * test.py failed with Python 2.7
 * Running selftest.py
185 tests ok.
 * Running selftest2.py
106 tests ok.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-20 20:45:42 UTC
Created attachment 210744 [details]
lxml-2.2.4:20091120-203702.log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-21 18:23:57 UTC
Fixed.