Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397383 - /dev-python/mechanize-0.2.5 suffers test failure building with pypy-1.7
Summary: /dev-python/mechanize-0.2.5 suffers test failure building with pypy-1.7
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://bugs.pypy.org/issue1172
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-01-02 13:24 UTC by Ian Delaney (RETIRED)
Modified: 2013-01-02 15:33 UTC (History)
0 users

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


Attachments
my emerge --info (emerge.info,4.90 KB, text/plain)
2012-01-02 13:24 UTC, Ian Delaney (RETIRED)
Details
the build log (mechanize_build.log,16.27 KB, text/plain)
2012-01-02 13:26 UTC, Ian Delaney (RETIRED)
Details
ebuild patch (mechanize.patch,1.04 KB, patch)
2012-06-12 16:13 UTC, Ian Delaney (RETIRED)
Details | Diff
this is a 2 in 1; mechanize-0.2.5-doctest.patch && mechanize-pypy_test.patch concatted (mechanize-0.2.5-doctest.patch,2.09 KB, patch)
2012-06-12 16:31 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-01-02 13:24:33 UTC
Created attachment 297661 [details]
my emerge --info

FEATURES test set, std use flags;

Ran 540 tests in 9.438s

FAILED (failures=2, errors=2, skipped=37)
 * ERROR: dev-python/mechanize-0.2.5 failed (test phase):
 *   Testing failed with PyPy 1.7 (Python 2.7) in testing() function
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-01-02 13:26:57 UTC
Created attachment 297663 [details]
the build log
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-06-12 16:13:33 UTC
Created attachment 315115 [details, diff]
ebuild patch

This patch sees both python and pypy passes tests.

archtester mechanize # USE_PYTHON="2.6 2.7 2.7-pypy-1.8" ebuild mechanize-0.2.5.ebuild clean test
 * Testing of dev-python/mechanize-0.2.5 with CPython 2.6...
.............................................................................................................................................................
Ran 541 tests in 6.106s

OK (skipped=37)
 * Testing of dev-python/mechanize-0.2.5 with CPython 2.7...
.............................................................................................................................................................
Ran 540 tests in 5.105s

OK (skipped=37)
 * Testing
 * Testing of dev-python/mechanize-0.2.5 with PyPy 1.8 (Python 2.7)...
.............................................................................................................................................................
Ran 540 tests in 9.368s

OK (skipped=39)
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-06-12 16:31:19 UTC
Created attachment 315117 [details, diff]
this is a 2 in 1; mechanize-0.2.5-doctest.patch && mechanize-pypy_test.patch concatted

from https://bugs.pypy.org/issue1171

	Author: afa 	Date: 2012-06-12.16:03:12 	

Yes, the audioop module is not implemented in pypy.

This makes the patch to exclude it valid; it cannot pass in pypy

from https://bugs.pypy.org/issue1172

Author: agaynor 	Date: 2012-06-12.15:55:36 	

Should be fixed by f04cd8c5ccfb.