Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295880 - dev-python/decoratortools-1.7 fails tests with Python 2.7
Summary: dev-python/decoratortools-1.7 fails tests with Python 2.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.7
  Show dependency tree
 
Reported: 2009-12-05 17:07 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-12-05 16:11 UTC (History)
1 user (show)

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


Attachments
decoratortools-1.7:20091205-170802.log (decoratortools-1.7:20091205-170802.log,6.51 KB, text/plain)
2009-12-05 17:08 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-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.