Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293887 - dev-python/urwid-0.9.9 fails tests with Python 2.7
Summary: dev-python/urwid-0.9.9 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-11-20 20:02 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-12-05 16:13 UTC (History)
0 users

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


Attachments
urwid-0.9.9:20091120-192520.log (urwid-0.9.9:20091120-192520.log,37.25 KB, text/plain)
2009-11-20 20:03 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:02:19 UTC
dev-python/urwid-0.9.9 fails tests with Python 2.7.
The order of items of dictionary is different in representation. Dictionaries are unordered, so it's only problem in comparison of representations.

File "/var/tmp/portage/dev-python/urwid-0.9.9/work/urwid-0.9.9/urwid/decoration.py", line 114, in urwid.decoration.AttrMap.__init__
Failed example:
    am2
Expected:
    <AttrMap flow widget <Text flow widget 'hi'> attr_map={None: 'bg', 'word': 'greeting'}>
Got:
    <AttrMap flow widget <Text flow widget 'hi'> attr_map={'word': 'greeting', None: 'bg'}>
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-20 20:03:35 UTC
Created attachment 210740 [details]
urwid-0.9.9:20091120-192520.log
Comment 2 Matthias Liebig 2010-12-02 14:48:51 UTC
Tests work fine with urwid-0.9.9.1 from the tree (using python-2.7.1).
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-12-05 16:13:34 UTC
Tests of dev-python/urwid-0.9.9.1 pass with Python 2.7.