这是我的Max OS 10.10.4上python2.7.10的环境
/usr/bin$ python2
Python 2.7.10 (default, Sep 17 2015, 13:55:58)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
当我进行numpy的测试时
>>> import numpy as np
>>> np.test('full')
Running unit tests for numpy
NumPy version 1.9.2
NumPy is installed in /usr/local/lib/python2.7/site-packages/numpy
Python version 2.7.10 (default, Sep 17 2015, 13:55:58) [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)]
nose version 1.3.7
最后的结果是测试失败,但我不知道为什么即使在我搜索Stack Overflow之后:
Ran 5430 tests in 78.141s
FAILED (KNOWNFAIL=14, SKIP=39, errors=6, failures=18)
<nose.result.TextTestResult run=5430 errors=6 failures=18>
所以任何人都可以告诉我如何纠正这些失败,因为我不希望这样的失败干扰我的工作。在此先感谢。)