Created attachment 317810 [details, diff] ebuild patch archtester mocker # USE_PYTHON="2.5 2.6 2.7 2.7-pypy-1.9" ebuild mocker-1.1.1.ebuild clean test install * Testing of dev-python/mocker-1.1.1 with CPython 2.5... Ran 449 tests in 0.237s OK * Testing of dev-python/mocker-1.1.1 with CPython 2.6... Ran 449 tests in 0.256s OK * Testing of dev-python/mocker-1.1.1 with CPython 2.7... Ran 449 tests in 0.256s OK * Testing of dev-python/mocker-1.1.1 with PyPy 1.9 (Python 2.7)... ====================================================================== FAIL: test_install_on_object (__main__.ProxyReplacerTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 4063, in test_install_on_object self.assertEquals(type(obj.calendar), Mock) AssertionError: <type 'module'> != <class 'mocker.Mock'> ====================================================================== FAIL: test_unsupported_object_for_getargspec (__main__.SpecCheckerTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 3883, in test_unsupported_object_for_getargspec self.assertRaises(TypeError, inspect.getargspec, adler32) AssertionError: TypeError not raised 2 out of 449 isn't too bad. I'll pass them on. archtester mocker # USE_PYTHON="2.5 2.6 2.7 2.7-pypy-1.8 2.7-pypy-1.9" ebuild mocker-1.1.1.ebuild clean merge * Compilation and optimization of Python modules for CPython 2.5 [ ok ] * Compilation and optimization of Python modules for CPython 2.6 [ ok ] * Compilation and optimization of Python modules for CPython 2.7 [ ok ] * Compilation and optimization of Python modules for PyPy 1.8 (Python 2.7)[ ok ] * Compilation and optimization of Python modules for PyPy 1.9 (Python 2.7)[ ok ] >>> dev-python/mocker-1.1.1 merged.
Created attachment 317894 [details, diff] revised ebuild patch having filed, it seems safe to have pypy skip those 2 tests. passes all tests * Compilation and optimization of Python modules for CPython 2.5 [ ok ] * Compilation and optimization of Python modules for CPython 2.6 [ ok ] * Compilation and optimization of Python modules for CPython 2.7 [ ok ] * Compilation and optimization of Python modules for PyPy 1.9 (Python 2.7)[ ok ] >>> dev-python/mocker-1.1.1 merged. pypy-1.8 fails 1 single test
Created attachment 317896 [details, diff] the files/mocker-1.1.1_pypy.patch patch is commented at the beginning
# USE_PYTHON="2.6 2.7 2.7-pypy-1.9" ebuild mocker-1.1.1.ebuild clean test merge * Testing of dev-python/mocker-1.1.1 with CPython 2.6... Ran 449 tests in 0.258s OK * Testing of dev-python/mocker-1.1.1 with CPython 2.7... Ran 449 tests in 0.254s OK * Testing of dev-python/mocker-1.1.1 with PyPy 1.9 (Python 2.7)... Ran 449 tests in 20.279s OK * Compilation and optimization of Python modules for CPython 2.6 [ ok ] * Compilation and optimization of Python modules for CPython 2.7 [ ok ] * Compilation and optimization of Python modules for PyPy 1.9 (Python 2.7) [ ok ] >>> dev-python/mocker-1.1.1 merged.