読者です 読者をやめる 読者になる 読者になる

gennei's blog

IT、読書、日記、メモ

numpyのテストが通らない

Running unit tests for numpy
NumPy version 1.8.0
NumPy is installed in /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy
Python version 2.7.6 (default, Feb 9 2014, 16:29:50) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)]
nose version 1.3.1

======================================================================
FAIL: test_default (test_numeric.TestSeterr)

                                                                                                                                          • -

Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/tests/test_numeric.py", line 384, in test_default
under='ignore',
AssertionError: {'over': 'ignore', 'divide': 'ignore', 'invalid': 'ignore', 'under': 'ignore'} != {'over': 'warn', 'divide': 'warn', 'invalid': 'warn', 'under': 'ignore'}

  • {'divide': 'ignore', 'invalid': 'ignore', 'over': 'ignore', 'under': 'ignore'}

? ^^ --- ^^ --- ^^ ---

  1. {'divide': 'warn', 'invalid': 'warn', 'over': 'warn', 'under': 'ignore'}

? ^^^ ^^^ ^^^

                                                                                                                                          • -

Ran 4933 tests in 78.992s

FAILED (KNOWNFAIL=5, SKIP=6, failures=1)

いろいろと調べるもうまく動かず。