Changeset 7049


Ignore:
Timestamp:
May 18, 2009, 1:57:38 PM (11 years ago)
Author:
rwilson
Message:

Changes to temp file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy_misc/tools/acceptance_tests/test_int32_type.py

    r7048 r7049  
    1313KIND_COLWIDTH = 11
    1414CHAR_COLWIDTH = 11
     15ID_COLWIDTH = 10
    1516
    1617NUM_BITS = platform.architecture()[0]
     
    1819def show(a, t):
    1920    element = a.flatten()[0]
    20     print ('%s | %s | %s | %s | %s | %08x |'
     21    print ('%s | %s | %s | %s | %s | %10x |'
    2122           % (t.rjust(ROWHDR_WIDTH),
    2223              a.dtype.name.center(NAME_COLWIDTH),
     
    3132
    3233print ''
    33 print ('%s | .dtype.name | .dtype.str | .dtype.kind | .dtype.char | id(type) |'
     34print ('%s | .dtype.name | .dtype.str | .dtype.kind | .dtype.char | id(type)     |'
    3435       % ' '.rjust(ROWHDR_WIDTH))
    35 print ('%s-+-------------+------------+-------------+-------------+----------+'
     36print ('%s-+-------------+------------+-------------+-------------+--------------+'
    3637       % '-'.rjust(ROWHDR_WIDTH))
    3738
     
    4344        pass
    4445    else:
     46#        if a.dtype.name != 'object':
    4547        if a.dtype.name == 'int32':
    4648            show(a, t)
    4749
    48 print ('%s-+-------------+------------+-------------+-------------+----------+'
     50print ('%s-+-------------+------------+-------------+-------------+--------------+'
    4951       % '-'.rjust(ROWHDR_WIDTH))
Note: See TracChangeset for help on using the changeset viewer.