Last active
June 1, 2017 21:44
-
-
Save mattip/83304fc4977f8174c227ba9631ffd82a to your computer and use it in GitHub Desktop.
numpy test failures 26.5.17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ../pypy-latest/bin/pypy runtests.py | |
Building, see build.log... | |
Build OK | |
Running unit tests for numpy | |
NumPy version 1.14.0.dev0+f6822b4 | |
NumPy relaxed strides checking option: True | |
NumPy is installed in /home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy | |
Python version 2.7.13 (5e7bef99e9f5, May 31 2017, 22:00:12)[PyPy 5.9.0-alpha0 with GCC 6.2.0 20160901] | |
nose version 1.3.7 | |
====================================================================== | |
ERROR: test_metadata (test_dtype.TestPickling) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/core/tests/test_dtype.py", line 680, in test_metadata | |
self.check_pickling(dt) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/core/tests/test_dtype.py", line 636, in check_pickling | |
assert_equal(pickled.metadata, dtype.metadata) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/utils.py", line 350, in assert_equal | |
usecomplex = iscomplexobj(actual) or iscomplexobj(desired) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/lib/type_check.py", line 287, in iscomplexobj | |
type_ = asarray(x).dtype.type | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/core/numeric.py", line 531, in asarray | |
return array(a, dtype, copy=False, order=order) | |
KeyError: 0 | |
====================================================================== | |
ERROR: test_add_doc (test_function_base.TestAdd_newdoc) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/decorators.py", line 147, in skipper_func | |
return f(*args, **kwargs) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/lib/tests/test_function_base.py", line 3393, in test_add_doc | |
self.assertEqual(np.core.flatiter.index.__doc__[:len(tgt)], tgt) | |
TypeError: 'NoneType' object is not subscriptable | |
====================================================================== | |
FAIL: test_collections_hashable (test_multiarray.TestHashing) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/core/tests/test_multiarray.py", line 6693, in test_collections_hashable | |
self.assertFalse(isinstance(x, collections.Hashable)) | |
AssertionError: True is not false | |
====================================================================== | |
FAIL: test_nditer.test_iter_nbo_align_contig | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/matti/pypy_stuff/pypy-latest/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/core/tests/test_nditer.py", line 790, in test_iter_nbo_align_contig | |
assert_equal(au, [2]*6) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/utils.py", line 343, in assert_equal | |
return assert_array_equal(actual, desired, err_msg, verbose) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/utils.py", line 854, in assert_array_equal | |
verbose=verbose, header='Arrays are not equal') | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/utils.py", line 778, in assert_array_compare | |
raise AssertionError(msg) | |
AssertionError: | |
Arrays are not equal | |
(mismatch 83.3333333333%) | |
x: array([ 0., 1., 2., 3., 4., 5.], dtype=float32) | |
y: array([2, 2, 2, 2, 2, 2]) | |
====================================================================== | |
FAIL: test_nditer.test_iter_array_cast | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/matti/pypy_stuff/pypy-latest/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/core/tests/test_nditer.py", line 882, in test_iter_array_cast | |
assert_equal(a[2, 1, 1], -12.5) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/utils.py", line 416, in assert_equal | |
raise AssertionError(msg) | |
AssertionError: | |
Items are not equal: | |
ACTUAL: 18.0 | |
DESIRED: -12.5 | |
====================================================================== | |
FAIL: test_nditer.test_iter_nested_iters_dtype_copy | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/matti/pypy_stuff/pypy-latest/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/core/tests/test_nditer.py", line 2354, in test_iter_nested_iters_dtype_copy | |
assert_equal(a, [[1, 2, 3], [4, 5, 6]]) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/utils.py", line 343, in assert_equal | |
return assert_array_equal(actual, desired, err_msg, verbose) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/utils.py", line 854, in assert_array_equal | |
verbose=verbose, header='Arrays are not equal') | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/utils.py", line 778, in assert_array_compare | |
raise AssertionError(msg) | |
AssertionError: | |
Arrays are not equal | |
(mismatch 100.0%) | |
x: array([[ 0., 1., 2.], | |
[ 3., 4., 5.]], dtype=float32) | |
y: array([[1, 2, 3], | |
[4, 5, 6]]) | |
====================================================================== | |
FAIL: test_scripts.test_f2py | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/matti/pypy_stuff/pypy-latest/site-packages/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/decorators.py", line 147, in skipper_func | |
return f(*args, **kwargs) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/tests/test_scripts.py", line 93, in test_f2py | |
assert_(success, msg) | |
File "/home/matti/pypy_stuff/numpy/build/testenv/site-packages/numpy/testing/utils.py", line 92, in assert_ | |
raise AssertionError(smsg) | |
AssertionError: Warning: neither f2py nor f2py2 nor f2py2.7 found in path | |
---------------------------------------------------------------------- | |
Ran 6578 tests in 154.875s | |
FAILED (KNOWNFAIL=6, SKIP=30, errors=2, failures=5) | |
Summary: | |
ERROR: test_metadata (test_dtype.TestPickling) -- new failure, need to investigate | |
ERROR: test_add_doc (test_function_base.TestAdd_newdoc) -- assignment to docstring unsupported | |
FAIL: test_collections_hashable (test_multiarray.TestHashing) -- slight difference with ABC module | |
FAIL: test_nditer.test_iter_nbo_align_contig -- UPDATEIFCOPY | |
FAIL: test_nditer.test_iter_array_cast -- UPDATEIFCOPY | |
FAIL: test_nditer.test_iter_nested_iters_dtype_copy -- UPDATEIFCOPY | |
FAIL: test_scripts.test_f2py -- fails on cpython as well, problem with Ubuntu 16.04? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment