diff options
author | Anas Khan <anas.khan96@outlook.com> | 2018-01-10 00:30:19 +0530 |
---|---|---|
committer | Anas Khan <anas.khan96@outlook.com> | 2018-01-10 00:30:19 +0530 |
commit | a1dfb54a8f02981d07d26037c2c93b1e2590c8a8 (patch) | |
tree | 3b5013806b9da3bf75af0ad9af641e3f93f72a77 /numpy/ma/tests/test_extras.py | |
parent | 61021a4a5b8008e5ca7d92ecc5bf6e12dcc96257 (diff) | |
download | numpy-a1dfb54a8f02981d07d26037c2c93b1e2590c8a8.tar.gz |
ref to issue in numpy.ma
Diffstat (limited to 'numpy/ma/tests/test_extras.py')
-rw-r--r-- | numpy/ma/tests/test_extras.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/ma/tests/test_extras.py b/numpy/ma/tests/test_extras.py index 1d93da1a3..83bac881f 100644 --- a/numpy/ma/tests/test_extras.py +++ b/numpy/ma/tests/test_extras.py @@ -1511,6 +1511,7 @@ class TestArraySetOps(object): control = array([1, 2, 3, 4, 5, 7, -1], mask=[0, 0, 0, 0, 0, 0, 1]) assert_equal(test, control) + # Tests gh-10340, arguments to union1d should be flattened if they are not already 1D x = array([[0, 1, 2], [3, 4, 5]], mask=[[0, 0, 0], [0, 0, 1]]) y = array([0, 1, 2, 3, 4], mask=[0, 0, 0, 0, 1]) ez = array([0, 1, 2, 3, 4, 5], mask=[0, 0, 0, 0, 0, 1]) |