[Numpy-svn] [numpy/numpy] da0054: TST: fix RuntimeWarnings due to invalid values in ...

GitHub noreply@github....
Fri Mar 2 13:28:29 CST 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: da0054cf2086eddbe39dec79914df1ec722d53a4
      https://github.com/numpy/numpy/commit/da0054cf2086eddbe39dec79914df1ec722d53a4
  Author: Ralf Gommers <ralf.gommers@googlemail.com>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M numpy/core/tests/test_umath.py
  M numpy/core/tests/test_umath_complex.py

  Log Message:
  -----------
  TST: fix RuntimeWarnings due to invalid values in umath tests.


  Commit: 955f471ed5034f772fa1eb1a86429a79e53ff541
      https://github.com/numpy/numpy/commit/955f471ed5034f772fa1eb1a86429a79e53ff541
  Author: Ralf Gommers <ralf.gommers@googlemail.com>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M numpy/core/tests/test_numeric.py
  M numpy/core/tests/test_regression.py
  M numpy/core/tests/test_umath.py
  M numpy/lib/tests/test_function_base.py

  Log Message:
  -----------
  TST: filter RuntimeWarnings for invalids from some more test files.

This should fix the test errors seen on both MinGW and MSVC9 related to this.


  Commit: e962f6b0be32515d6a1d9fb25d24ca250d632a4c
      https://github.com/numpy/numpy/commit/e962f6b0be32515d6a1d9fb25d24ca250d632a4c
  Author: Ralf Gommers <ralf.gommers@googlemail.com>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M numpy/lib/tests/test_io.py

  Log Message:
  -----------
  TST: filter one more printed warning.

This one wasn't actually converted to a test error, because it's not a
RuntimeWarning.  Maybe need to add an option to raise on UserWarning too.


  Commit: b9872b41422e33c9910829cd54268a510ec9436b
      https://github.com/numpy/numpy/commit/b9872b41422e33c9910829cd54268a510ec9436b
  Author: Ralf Gommers <ralf.gommers@googlemail.com>
  Date:   2012-03-02 (Fri, 02 Mar 2012)

  Changed paths:
    M numpy/core/tests/test_numeric.py
  M numpy/core/tests/test_regression.py
  M numpy/core/tests/test_umath.py
  M numpy/core/tests/test_umath_complex.py
  M numpy/lib/tests/test_function_base.py
  M numpy/lib/tests/test_io.py

  Log Message:
  -----------
  Merge pull request #215 from rgommers/windows-runtime-warnings.

This PR fixes a number of warnings, that were converted to test errors in
master.  Some of them were only visible with MSVC.


Compare: https://github.com/numpy/numpy/compare/ba40918...b9872b4


More information about the Numpy-svn mailing list