summaryrefslogtreecommitdiff
path: root/numpy/ma/tests/test_regression.py
diff options
context:
space:
mode:
authorThomas Robitaille <thomas.robitaille@gmail.com>2012-11-20 11:44:12 +0100
committerThomas Robitaille <thomas.robitaille@gmail.com>2012-11-20 11:44:12 +0100
commit15d1aa3b50f22eeb74d27ba7f5ad75b5777b2d87 (patch)
tree78c07e951bd9b501b27ca6e31d9bc58893b45f79 /numpy/ma/tests/test_regression.py
parent4171e5093ff85391458da09342f32dec25822496 (diff)
downloadnumpy-15d1aa3b50f22eeb74d27ba7f5ad75b5777b2d87.tar.gz
Change test to use np.testing.assert_
Diffstat (limited to 'numpy/ma/tests/test_regression.py')
-rw-r--r--numpy/ma/tests/test_regression.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/tests/test_regression.py b/numpy/ma/tests/test_regression.py
index 8cb8a2661..e3a5d9613 100644
--- a/numpy/ma/tests/test_regression.py
+++ b/numpy/ma/tests/test_regression.py
@@ -48,7 +48,7 @@ class TestRegression(TestCase):
"""Ticket #2733"""
a = np.ma.masked_array(['a', 'b', 'c'], mask=[1, 0, 0])
a.fill_value = 'X'
- assert a.fill_value == 'X'
+ assert_(a.fill_value == 'X')
if __name__ == "__main__":
run_module_suite()