summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2011-08-25 23:22:24 -0700
committerCharles Harris <charlesr.harris@gmail.com>2011-08-27 07:27:02 -0600
commit73d41dd2497ddf291b55d7af28f748f6ca4b9065 (patch)
tree2182f0df2cef1b668e6b8a8c430c707d25789bea /numpy
parentea622f36ffa9041faabeaa9143aa565856756024 (diff)
downloadnumpy-73d41dd2497ddf291b55d7af28f748f6ca4b9065.tar.gz
TST: dtype: Adjust void dtype test to pass without raising a zero-size exception
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_multiarray.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py
index b9dfcddf9..f1a7a2b65 100644
--- a/numpy/core/tests/test_multiarray.py
+++ b/numpy/core/tests/test_multiarray.py
@@ -328,7 +328,7 @@ class TestCreation(TestCase):
assert_equal(array(nstr, dtype=type), result, err_msg=msg)
def test_void(self):
- arr = np.array([np.void(0)], dtype='V')
+ arr = np.array([], dtype='V')
assert_equal(arr.dtype.kind, 'V')
def test_non_sequence_sequence(self):