summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schönberger <hannesschoenberger@gmail.com>2013-01-14 15:53:15 +0100
committerJohannes Schönberger <jschoenberger@demuc.de>2013-06-06 21:15:45 +0200
commitdbc35587f43bc3b72b63200cfc7712aedc3db11f (patch)
treecd2c85875f9e614705ea60d1926ce6ef3c1251d6
parent781cb48ab247ff76d51a6e20603d7e763768276d (diff)
downloadnumpy-dbc35587f43bc3b72b63200cfc7712aedc3db11f.tar.gz
Do not compare string or unicode values
-rw-r--r--numpy/core/tests/test_numeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_numeric.py b/numpy/core/tests/test_numeric.py
index bf3ca5d30..4e2fa9b82 100644
--- a/numpy/core/tests/test_numeric.py
+++ b/numpy/core/tests/test_numeric.py
@@ -1353,7 +1353,7 @@ class TestCreationFuncs(TestCase):
continue
else:
# do not fill void type
- if fill_value is not None and type == 'V':
+ if fill_value is not None and type in 'VSUa':
continue
arr = func(shape, order=order, dtype=dtype,