Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 293892

Summary: dev-python/lxml-2.2.4 fails tests with Python 2.7 (unittest._TextTestResult)
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: https://bugs.launchpad.net/lxml/+bug/486372
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292401    
Attachments: lxml-2.2.4:20091120-203702.log

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.