diff options
author | Johannes Schönberger <hannesschoenberger@gmail.com> | 2013-01-14 15:53:15 +0100 |
---|---|---|
committer | Johannes Schönberger <jschoenberger@demuc.de> | 2013-06-06 21:15:45 +0200 |
commit | dbc35587f43bc3b72b63200cfc7712aedc3db11f (patch) | |
tree | cd2c85875f9e614705ea60d1926ce6ef3c1251d6 | |
parent | 781cb48ab247ff76d51a6e20603d7e763768276d (diff) | |
download | numpy-dbc35587f43bc3b72b63200cfc7712aedc3db11f.tar.gz |
Do not compare string or unicode values
-rw-r--r-- | numpy/core/tests/test_numeric.py | 2 |
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, |