Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447080 - dev-python/pygments-1.5-r1: fails tests with python2.5
Summary: dev-python/pygments-1.5-r1: fails tests with python2.5
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 09:53 UTC by Michał Górny
Modified: 2012-12-16 09:53 UTC (History)
0 users

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


Attachments
Build log for python2.5 (build-python2.5.log,12.88 KB, text/plain)
2012-12-13 09:53 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-12-13 09:53:44 UTC
Created attachment 332194 [details]
Build log for python2.5

The package supposedly supports py2.5 but it has a single test failure when using it:

======================================================================
FAIL: test_basic_api.test_lexer_classes(<class 'pygments.lexers.parsers.AntlrObjectiveCLexer'>,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/portage/dev-python/pygments-1.5-r1/work/Pygments-1.5-python2_5/lib/tests/test_basic_api.py", line 70, in verify
    assert isinstance(token[1], unicode)
AssertionError: AssertionError:
-------------------- >> begin captured stdout << ---------------------
''

--------------------- >> end captured stdout << ----------------------
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-12-16 09:53:21 UTC
I can't reproduce it. Maybe I broke something at the time, or it is just a random race condition.