[PYTHON] numpy unit test

Hello. After installing numpy etc., I tried to run a unit test.

$ python --version
Python 2.7.11
$ pip install nose
$ python -c "import numpy; print numpy.__version__; numpy.test()"
..................................
----------------------------------------------------------------------
Ran 5931 tests in 22.598s
   OK (KNOWNFAIL=5, SKIP=8)
$ python -c "import scipy; print scipy.__version__; scipy.test()"
..................................
$ python -c "import matplotlib; print matplotlib.__version__; matplotlib.test()"
..................................

print numpy.__version__Part may not be needed, but python 3.In x, print(numpy.__version__)Please change to.



```console
$ pip3 install nose
$ python3 -c "import numpy; print(numpy.__version__); numpy.test()"
$ python3 -c "import scipy; print(scipy.__version__); scipy.test()"
$ python3 -c "import matplotlib; print(matplotlib.__version__); matplotlib.test()"

Recommended Posts

numpy unit test
Python basics 8 numpy test
Unit test Databricks Notebook
python unit test template
Unit test flask with pytest
test
Unit test log output with python
numpy practice 1
Numpy [Basic]
Jarque-Bera test
Locust-Load test
Django test
NumPy basics
Numpy Memorandum_Matrix
numpy tips
Post test
About numpy
NumPy axis
Use Numpy
numpy part 2
Django Tutorial (Blog App Creation) ④ --Unit Test
[Python] What I did to do Unit Test
Python unit test library Nose option introduction-19 types-