Changeset 1170 for trunk/bindings/python/nxstest.py
- Timestamp:
- 16/01/09 14:11:32 (3 years ago)
- File:
-
- 1 edited
-
trunk/bindings/python/nxstest.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bindings/python/nxstest.py
r1159 r1170 94 94 # Write numeric data 95 95 for var in ['i1','i2','i4','i8','r4']: 96 if mode is 'w4' and var is'i8': continue96 if mode == 'w4' and var == 'i8': continue 97 97 name = var+'_data' 98 98 val = locals()[var] … … 214 214 ('r8','float64',(5,4),1) 215 215 ]: 216 if mode is 'w4' and name is'i8': continue216 if mode == 'w4' and name == 'i8': continue 217 217 n = numpy.prod(shape) 218 218 expected = numpy.arange(n,dtype=dtype).reshape(shape)*scale
Note: See TracChangeset
for help on using the changeset viewer.
