Created attachment 300759 [details] ebuild ran test suite Ran 50 tests in 0.468s FAILED (failures=1) which is fixable if someone care to undertake. Otherwise just set test to RESTRICT for this version. 1 out of 50 isn't that bad. Tests set to off emerged happily. The patch for 1.3-doctest-ellipsis.patch is not required
*** Bug 393637 has been marked as a duplicate of this bug. ***
Here is yet a second test suite that falls victim to the inability of module distutils to deal with unicode in python2. gentoo # FEATURES=test USE_PYTHON="2.7" ebuild webtest-1.3.3.ebuild clean test ---------------------------------------------------------- 1.) ERROR: test_click (tests.test_click.TestClick) ----------------------------------------------------------------------- File "/mnt/gen2/TmpDir/portage/dev-python/webtest-1.3.3/work/WebTest-1.3.3/tests/compat.py", line 19, in u return unicode(value, 'utf-8') TypeError: decoding Unicode is not supported ERROR: test_click_u (tests.test_click.TestClick) ---------------------------------------------------------------------- File "/mnt/gen2/TmpDir/portage/dev-python/webtest-1.3.3/work/WebTest-1.3.3/tests/compat.py", line 19, in u return unicode(value, 'utf-8') TypeError: decoding Unicode is not supported ERROR: test_click_utf8 (tests.test_click.TestClick) File "/mnt/gen2/TmpDir/portage/dev-python/webtest-1.3.3/work/WebTest-1.3.3/tests/compat.py", line 19, in u return unicode(value, 'utf-8') TypeError: decoding Unicode is not supported ---------------------------------------------------- AND ---------------------------------------------------- 2.) 259 >>> # dict of fields 260 >>> fields.values() #doctest: +SKIP 261 [(u'name', [<Text name="name">]), (u'submit', [<Submit name="submit">])] 273 >>> res = form.submit('submit') 274 >>> print(res) draws error; File "/tmp/portage/dev-python/webtest-1.3.3/work/WebTest-1.3.3/docs/index.txt", line 274 Failed example: print(res) File ".........webtest-1.3.3/work/WebTest-1.3.3/docs/index.txt", line 332 File ".........webtest-1.3.3/work/WebTest-1.3.3/docs/index.txt", line 344 File ".........webtest-1.3.3/work/WebTest-1.3.3/docs/index.txt", line 350 in index.txt 332 >>> res.lxml 344 >>> res.xml 350 >>> res.lxml 2 separate unicode related errors in the 1 newly resumed test suite. In this; RESTRICT_PYTHON_ABIS="2.4 3.*" So no python3.2 to the rescue.