Is there a test suite for numpy / scipy?

后端 未结 2 873
花落未央
花落未央 2020-12-09 14:40

I\'m about to reinstall numpy and scipy on my Ubuntu Lucid. As these things carry quite a few dependencies, I\'m wondering if there is a comprehens

2条回答
  •  情书的邮戳
    2020-12-09 15:17

    Yes. Both packages have a test method for this.

    import numpy
    numpy.test('full')
    
    import scipy
    scipy.test('full')
    

    Note that if you do not have nose installed, it will tell you that you need it.

提交回复
热议问题