diff options
author | ImenRajhi <imen.rajhi.ir@gmail.com> | 2021-06-14 14:15:00 +0000 |
---|---|---|
committer | ImenRajhi <imen.rajhi.ir@gmail.com> | 2021-06-14 14:15:00 +0000 |
commit | 2ecb55d48e8d54b059304d4898b403d0f9031afa (patch) | |
tree | 2a5334e0021a14651921c4c028f84a3d154ed5e3 /numpy | |
parent | 084619c079f5dd1f555ee2036b84136ec562b9ad (diff) | |
download | numpy-2ecb55d48e8d54b059304d4898b403d0f9031afa.tar.gz |
added tests for 18951 fix
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/ma/tests/test_old_ma.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/numpy/ma/tests/test_old_ma.py b/numpy/ma/tests/test_old_ma.py index 7ac4c328f..ab003b94e 100644 --- a/numpy/ma/tests/test_old_ma.py +++ b/numpy/ma/tests/test_old_ma.py @@ -697,13 +697,6 @@ class TestMa: assert_equal(b[0].shape, ()) assert_equal(b[1].shape, ()) - def test_assignment_by_condition(self): - # Test for gh-18951 - a = array([1, 2, 3, 4], mask=[1, 0, 1, 0]) - c = a>=3 - a[c] = 5 - assert_(a[2] is masked) - class TestUfuncs: def setup(self): |