summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_arraysetops.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/tests/test_arraysetops.py')
-rw-r--r--numpy/lib/tests/test_arraysetops.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_arraysetops.py b/numpy/lib/tests/test_arraysetops.py
index e2e703b9a..5a5a8fbd8 100644
--- a/numpy/lib/tests/test_arraysetops.py
+++ b/numpy/lib/tests/test_arraysetops.py
@@ -145,6 +145,10 @@ class TestAso(NumpyTestCase):
assert_array_equal([], setdiff1d([],[]))
+ def check_setdiff1d_char_array(self):
+ a = numpy.array(['a','b','c'])
+ b = numpy.array(['a','b','s'])
+ assert_array_equal(setdiff1d(a,b),numpy.array(['c']))
##
# 03.11.2005, c