diff options
author | Robert Cimrman <cimrman3@ntc.zcu.cz> | 2009-07-20 11:59:40 +0000 |
---|---|---|
committer | Robert Cimrman <cimrman3@ntc.zcu.cz> | 2009-07-20 11:59:40 +0000 |
commit | 1319b2ca9c0a7491e5143f2608f444c2b1b7e346 (patch) | |
tree | ac7569257d268dd5f62c018247e32ab5c67434fc /numpy/ma/tests/test_extras.py | |
parent | 520872500893f95f1676cdf6715c8d34b32a2449 (diff) | |
download | numpy-1319b2ca9c0a7491e5143f2608f444c2b1b7e346.tar.gz |
Fix to setdiff1d (and masked version) + tests (#1133, by N.C.)
Diffstat (limited to 'numpy/ma/tests/test_extras.py')
-rw-r--r-- | numpy/ma/tests/test_extras.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/tests/test_extras.py b/numpy/ma/tests/test_extras.py index 687fc9b81..e40c56ed5 100644 --- a/numpy/ma/tests/test_extras.py +++ b/numpy/ma/tests/test_extras.py @@ -771,7 +771,7 @@ class TestArraySetOps(TestCase): def test_setdiff1d( self ): "Test setdiff1d" - a = array([6, 5, 4, 7, 1, 2, 1], mask=[0, 0, 0, 0, 0, 0, 1]) + a = array([6, 5, 4, 7, 7, 1, 2, 1], mask=[0, 0, 0, 0, 0, 0, 0, 1]) b = array([2, 4, 3, 3, 2, 1, 5]) test = setdiff1d(a, b) assert_equal(test, array([6, 7, -1], mask=[0, 0, 1])) |