Changeset 5203


Ignore:
Timestamp:
Apr 10, 2008, 2:23:07 PM (15 years ago)
Author:
ole
Message:

Small test found on laptop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/geospatial_data/test_geospatial_data.py

    r5120 r5203  
    3232        assert allclose(G.data_points, [[1.0, 2.1], [3.0, 5.3]])
    3333
    34         #Check __repr__
    35 
     34        # Check __repr__
     35        # FIXME (Ole): Is this really machine independent?
    3636        rep = `G`
    3737        ref = '[[ 1.   2.1]\n [ 3.   5.3]]'
    38         assert rep == ref
    39 
     38
     39        msg = 'Representation %s is not equal to %s' %(rep, ref)
     40        assert rep == ref, msg
    4041
    4142        #Check getter
Note: See TracChangeset for help on using the changeset viewer.