summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-15 03:10:36 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-15 03:10:36 +0000
commit0283b6f480b7239dc1390dadf29fcb5e1f2516e3 (patch)
tree6d75e6fb25fb7ff9e5668df1dfad9c7edba7a00e /numpy/f2py/tests
parentd04bb02f393f0122e52b804bf548e0e18a0a2ecc (diff)
downloadnumpy-0283b6f480b7239dc1390dadf29fcb5e1f2516e3.tar.gz
Moved .dtypedescr to .dtype; .dtype->.dtype.type; .dtypestr ->.dtype.str; .dtypechar -> .dtype.char
Diffstat (limited to 'numpy/f2py/tests')
-rw-r--r--numpy/f2py/tests/array_from_pyobj/tests/test_array_from_pyobj.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/tests/array_from_pyobj/tests/test_array_from_pyobj.py b/numpy/f2py/tests/array_from_pyobj/tests/test_array_from_pyobj.py
index 9cd01fa7c..281018b64 100644
--- a/numpy/f2py/tests/array_from_pyobj/tests/test_array_from_pyobj.py
+++ b/numpy/f2py/tests/array_from_pyobj/tests/test_array_from_pyobj.py
@@ -177,8 +177,8 @@ class Array:
self.pyarr = array(array(obj,
dtype = typ.dtypechar).reshape(*dims),
fortran=not self.intent.is_intent('c'))
- assert self.pyarr.dtypechar==typ.dtypechar,\
- `self.pyarr.dtypechar,typ.dtypechar`
+ assert self.pyarr.dtype.char==typ.dtypechar,\
+ `self.pyarr.dtype.char,typ.dtypechar`
assert self.pyarr.flags['OWNDATA']
self.pyarr_attr = wrap.array_attrs(self.pyarr)