Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 397383

Summary: /dev-python/mechanize-0.2.5 suffers test failure building with pypy-1.7
Product: Gentoo Linux Reporter: Ian Delaney (RETIRED) <idella4>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: 10.0   
Hardware: All   
OS: Linux   
URL: https://bugs.pypy.org/issue1172
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: my emerge --info
the build log
ebuild patch
this is a 2 in 1; mechanize-0.2.5-doctest.patch && mechanize-pypy_test.patch concatted

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.