summaryrefslogtreecommitdiff
path: root/numpy/ma/tests/test_extras.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-01-14 16:32:57 -0700
committerCharles Harris <charlesr.harris@gmail.com>2016-01-14 16:32:57 -0700
commit7141f40b58ed1e7071cde78ab7bc8ab37e9c5983 (patch)
tree856886f3b9d65fb6305f21f9d692cb0861b861cb /numpy/ma/tests/test_extras.py
parent8fa6e3bef26a6d4a2c92f2824129aa4409be2590 (diff)
parent53ad26a84ac2aa6f5a37f09aa9feae5afed44f79 (diff)
downloadnumpy-7141f40b58ed1e7071cde78ab7bc8ab37e9c5983.tar.gz
Merge pull request #7001 from shoyer/NaT-comparison
API: make all comparisons with NaT false
Diffstat (limited to 'numpy/ma/tests/test_extras.py')
-rw-r--r--numpy/ma/tests/test_extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/tests/test_extras.py b/numpy/ma/tests/test_extras.py
index 6138d0573..c2428fa10 100644
--- a/numpy/ma/tests/test_extras.py
+++ b/numpy/ma/tests/test_extras.py
@@ -154,7 +154,7 @@ class TestAverage(TestCase):
ott = ott.reshape(2, 2)
ott[:, 1] = masked
assert_equal(average(ott, axis=0), [2.0, 0.0])
- assert_equal(average(ott, axis=1).mask[0], [True])
+ assert_equal(average(ott, axis=1).mask[0], True)
assert_equal([2., 0.], average(ott, axis=0))
result, wts = average(ott, axis=0, returned=1)
assert_equal(wts, [1., 0.])