[Numpy-svn] [numpy/numpy] 6f6f03: TST: Fix some MA tests to avoid looking at the .da...

GitHub noreply at github.com
Fri Feb 26 16:45:27 EST 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 6f6f03dc961c15b336242c6600596a8f882ca194
      https://github.com/numpy/numpy/commit/6f6f03dc961c15b336242c6600596a8f882ca194
  Author: Allan Haldane <allan.haldane at gmail.com>
  Date:   2016-02-26 (Fri, 26 Feb 2016)

  Changed paths:
    M numpy/ma/tests/test_extras.py

  Log Message:
  -----------
  TST: Fix some MA tests to avoid looking at the .data attribute

The MaskedArray.data attribute is unreliable for tests because it can
contain arbitraty junk data at masked positions. Instead, all
MaskedArray tests should look at marr.filled(0) to check if we got the
same result.


  Commit: fe25160c29a712eb766ec5f39a6bc074f6ab931e
      https://github.com/numpy/numpy/commit/fe25160c29a712eb766ec5f39a6bc074f6ab931e
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-02-26 (Fri, 26 Feb 2016)

  Changed paths:
    M numpy/ma/tests/test_extras.py

  Log Message:
  -----------
  Merge pull request #7351 from ahaldane/ma_fix_1_datatest

TST: Fix some MA tests to avoid looking at the .data attribute


Compare: https://github.com/numpy/numpy/compare/4123a2d55c35...fe25160c29a7


More information about the Numpy-svn mailing list