summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/ma/tests/test_old_ma.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/tests/test_old_ma.py b/numpy/ma/tests/test_old_ma.py
index 7ac4c328f..2e0097dc8 100644
--- a/numpy/ma/tests/test_old_ma.py
+++ b/numpy/ma/tests/test_old_ma.py
@@ -700,7 +700,7 @@ class TestMa:
def test_assignment_by_condition(self):
# Test for gh-18951
a = array([1, 2, 3, 4], mask=[1, 0, 1, 0])
- c = a>=3
+ c = a >= 3
a[c] = 5
assert_(a[2] is masked)