[Numpy-svn] [numpy/numpy] 480044: TST: replace TestCase.assert_ (deprecated in Pytho...

noreply at github.com noreply at github.com
Wed Mar 2 03:32:26 EST 2011


Branch: refs/heads/master
Home:   https://github.com/numpy/numpy

Commit: 4800446a9cef4b8e1ed0e34ba750cf1f92ca57b8
    https://github.com/numpy/numpy/commit/4800446a9cef4b8e1ed0e34ba750cf1f92ca57b8
Author: rgommers <ralf.gommers at googlemail.com>
Date:   2011-03-02 (Wed, 02 Mar 2011)

Changed paths:
  M numpy/core/tests/test_numeric.py
  M numpy/core/tests/test_numerictypes.py
  M numpy/core/tests/test_regression.py
  M numpy/core/tests/test_unicode.py

Log Message:
-----------
TST: replace TestCase.assert_ (deprecated in Python 3.2) with assertTrue.


Commit: 33ba9bea35467837de0dedd46ee4b78a17bd8211
    https://github.com/numpy/numpy/commit/33ba9bea35467837de0dedd46ee4b78a17bd8211
Author: rgommers <ralf.gommers at googlemail.com>
Date:   2011-03-02 (Wed, 02 Mar 2011)

Changed paths:
  M numpy/core/tests/test_regression.py
  M numpy/lib/tests/test__datasource.py

Log Message:
-----------
TST: replace assert with assert_


Commit: 390dd85b17a842852e93acb20f94abfbfa37c966
    https://github.com/numpy/numpy/commit/390dd85b17a842852e93acb20f94abfbfa37c966
Author: rgommers <ralf.gommers at googlemail.com>
Date:   2011-03-02 (Wed, 02 Mar 2011)

Changed paths:
  M numpy/distutils/npy_pkg_config.py
  M numpy/distutils/system_info.py

Log Message:
-----------
DEP: fix deprecation warning from using SafeConfigParser with Python 3.2.


Commit: 788356d6b7562749f76146d1c4bb05ba2344c865
    https://github.com/numpy/numpy/commit/788356d6b7562749f76146d1c4bb05ba2344c865
Author: rgommers <ralf.gommers at googlemail.com>
Date:   2011-03-02 (Wed, 02 Mar 2011)

Changed paths:
  M numpy/lib/tests/test__datasource.py
  M numpy/lib/tests/test_format.py
  M numpy/lib/tests/test_regression.py

Log Message:
-----------
TST: clean up some ResourceWarnings from python 3.2.

Also make the sys.stdout temporary redirection in one of the tests a little
more robust. That is still necessary, because np.who is very noisy.


Compare: https://github.com/numpy/numpy/compare/ee0831a...788356d



More information about the Numpy-svn mailing list