====================================================================== FAIL: Ticket #1299 second test ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/numpy-1.5.0-r2/work/numpy-1.5.0/test-2.6/lib/python/numpy/core/tests/test_regression.py", line 1255, in test_structured_arrays_with_objects2 assert sys.getrefcount(strb) == numb AssertionError: 7 = .getrefcount('aaaa') array([[(0, 'aaaa'), (0, 'aaaa')]], dtype=[('f0', '>i8'), ('f1', '|O8')]) = .array([[(0,'aaaa'),(1,'bbbb')]], 'i8,O') >> array([[(0, 'aaaa'), (0, 'aaaa')]], dtype=[('f0', '>i8'), ('f1', '|O8')])[array([[(0, 'aaaa'), (0, 'aaaa')]], dtype=[('f0', '>i8'), ('f1', '|O8')]).nonzero()] = array([[(0, 'aaaa'), (0, 'aaaa')]], dtype=[('f0', '>i8'), ('f1', '|O8')]).ravel()[:1] assert .getrefcount('bbbb') == 7 assert .getrefcount('aaaa') == 7 + 2 ====================================================================== FAIL: test_ldexp (test_umath.TestLdexp) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/numpy-1.5.0-r2/work/numpy-1.5.0/test-2.6/lib/python/numpy/core/tests/test_umath.py", line 391, in test_ldexp assert_almost_equal(ncu.ldexp(2., 3), 16.) File "/var/tmp/portage/dev-python/numpy-1.5.0-r2/work/numpy-1.5.0/test-2.6/lib/python/numpy/testing/utils.py", line 463, in assert_almost_equal raise AssertionError(msg) AssertionError: Arrays are not almost equal ACTUAL: 2.0 DESIRED: 16.0 >> raise AssertionError('\nArrays are not almost equal\n ACTUAL: 2.0\n DESIRED: 16.0') ====================================================================== FAIL: test_umath.test_nextafterl ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/nose/case.py", line 186, in runTest self.test(*self.arg) File "/var/tmp/portage/dev-python/numpy-1.5.0-r2/work/numpy-1.5.0/test-2.6/lib/python/numpy/testing/decorators.py", line 215, in knownfailer return f(*args, **kwargs) File "/var/tmp/portage/dev-python/numpy-1.5.0-r2/work/numpy-1.5.0/test-2.6/lib/python/numpy/core/tests/test_umath.py", line 1018, in test_nextafterl return _test_nextafter(np.longdouble) File "/var/tmp/portage/dev-python/numpy-1.5.0-r2/work/numpy-1.5.0/test-2.6/lib/python/numpy/core/tests/test_umath.py", line 1004, in _test_nextafter assert np.nextafter(one, two) - one == eps AssertionError: 2.0 = t(2) 0.0 = t(0) 1.3817869701020005382e-76 = .finfo(t).1.3817869701020005382e-76 >> assert .nextafter(1.0, 2.0) - 1.0 == 1.3817869701020005382e-76 assert .nextafter(1.0, 0.0) - 1.0 < 0 assert .isnan(.nextafter(.nan, 1.0)) ====================================================================== FAIL: test_umath.test_spacingl ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/nose/case.py", line 186, in runTest self.test(*self.arg) File "/var/tmp/portage/dev-python/numpy-1.5.0-r2/work/numpy-1.5.0/test-2.6/lib/python/numpy/testing/decorators.py", line 215, in knownfailer return f(*args, **kwargs) File "/var/tmp/portage/dev-python/numpy-1.5.0-r2/work/numpy-1.5.0/test-2.6/lib/python/numpy/core/tests/test_umath.py", line 1043, in test_spacingl return _test_spacing(np.longdouble) File "/var/tmp/portage/dev-python/numpy-1.5.0-r2/work/numpy-1.5.0/test-2.6/lib/python/numpy/core/tests/test_umath.py", line 1027, in _test_spacing assert np.spacing(one) == eps AssertionError: >> assert .spacing(1.0) == 1.3817869701020005382e-76 assert .isnan(.spacing(nan)) assert .isnan(.spacing(inf)) ---------------------------------------------------------------------- Ran 2966 tests in 26.829s FAILED (KNOWNFAIL=5, failures=4)