From 0283b6f480b7239dc1390dadf29fcb5e1f2516e3 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Sun, 15 Jan 2006 03:10:36 +0000 Subject: Moved .dtypedescr to .dtype; .dtype->.dtype.type; .dtypestr ->.dtype.str; .dtypechar -> .dtype.char --- numpy/f2py/tests/array_from_pyobj/tests/test_array_from_pyobj.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/f2py') 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) -- cgit v1.2.1