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

Bug 295880

Summary: dev-python/decoratortools-1.7 fails tests with Python 2.7
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: minor CC: pqGungnir
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292401    
Attachments: decoratortools-1.7:20091205-170802.log

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-05 17:07:42 UTC
dev-python/decoratortools-1.7 fails tests with Python 2.7.
It's only a problem with representations.

======================================================================
FAIL: Doctest: README.txt                                             
----------------------------------------------------------------------
Traceback (most recent call last):                                    
  File "/usr/lib64/python2.7/doctest.py", line 2145, in runTest       
    raise self.failureException(self.format_failure(new.getvalue()))  
AssertionError: Failed doctest test for README.txt                    
  File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 0

----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/decoratortools-1.7/work/DecoratorTools-1.7/README.txt", line 266, in README.txt
Failed example:                                                                                                  
    ts.__lock__                                                                                                  
Expected:                                                                                                        
    <_RLock(None, 0)>                                                                                            
Got:                                                                                                             
    <_RLock owner=None count=0>                                                                                  


----------------------------------------------------------------------
Ran 14 tests in 0.080s                                                

FAILED (failures=1)
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-05 17:08:52 UTC
Created attachment 212166 [details]
decoratortools-1.7:20091205-170802.log
Comment 2 Matthias Liebig 2010-12-02 14:42:39 UTC
Tests work fine with decoratortools-1.8 from the tree (using python-2.7.1).
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-12-05 16:11:12 UTC
Tests of dev-python/decoratortools-1.8 pass with Python 2.7.