Changeset 6740


Ignore:
Timestamp:
Apr 7, 2009, 1:47:24 PM (15 years ago)
Author:
rwilson
Message:

Removed test bit that used numpy.float96 - doesn't exist on 64bit platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy/anuga/utilities/test_numerical_tools.py

    r6456 r6740  
    610610        self.failUnless(points_id == id(points), msg)
    611611
    612         #####
    613         # Make 'points' a numeric array of float coordinates.
    614         # Should be changed by ensure_numeric(, num.float96).
    615         #####
    616         points = num.array([[1.,2.], [3.,4.], [5.,6.]], num.float)
    617         points_id = id(points)
    618 
    619         points_new = ensure_numeric(points, num.float96)
    620         points_new_id = id(points_new)
    621 
    622         msg = 'ensure_numeric() should return a copy of the input'
    623         self.failUnless(points_new_id != points_id, msg)
    624 
    625         # should never change it's input parameter
    626         msg = "ensure_numeric() changed it's input parameter"
    627         self.failUnless(points_id == id(points), msg)
    628 
    629612################################################################################
    630613
Note: See TracChangeset for help on using the changeset viewer.