diff options
author | wim glenn <wim.glenn@melbourneit.com.au> | 2015-06-15 04:20:59 +1000 |
---|---|---|
committer | wim glenn <wim.glenn@melbourneit.com.au> | 2015-06-15 04:20:59 +1000 |
commit | 8b447baab0932c7bd5cf89aba3e9e2197e4be735 (patch) | |
tree | ac20a3d8357e44d498929b834fe1f1187bbc5f30 /numpy | |
parent | 0a08e7e50f5a445e54fd9a888a9d03a2fdeb9e9e (diff) | |
download | numpy-8b447baab0932c7bd5cf89aba3e9e2197e4be735.tar.gz |
grrr python 3.2
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_multiarray.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py index b0a565b0c..a9281a644 100644 --- a/numpy/core/tests/test_multiarray.py +++ b/numpy/core/tests/test_multiarray.py @@ -5734,10 +5734,10 @@ class TestArrayPriority(TestCase): class TestEmptyStringArray(TestCase): def test_empty_bstring_array_is_falsey(self): - self.assertFalse(np.array([b''])) + self.assertFalse(np.array([''], dtype=np.str)) def test_empty_ustring_array_is_falsey(self): - self.assertFalse(np.array([u''])) + self.assertFalse(np.array([''], dtype=np.unicode)) if __name__ == "__main__": |