Ignore:
Timestamp:
Jul 12, 2009, 10:53:38 PM (15 years ago)
Author:
ole
Message:

Tested ANUGA/numpy for Python2.6 on Ubuntu 9.04 and fixed up remaining errors.
In short, they had to do with hasattr, which now can raise a proper exception and the rest
was situations where numpy.int32 had to be converted to a proper int.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r7276 r7308  
    59605960        tide = 1
    59615961        base_name, files = self.create_mux()
     5962       
    59625963        urs2sww(base_name,
    59635964                mint=0.25,
     
    59655966                mean_stage=tide,
    59665967                remove_nc_files=True,
    5967                       verbose=self.verbose
    5968                 )
     5968                verbose=self.verbose)
    59695969        sww_file = base_name + '.sww'
    59705970       
     
    1167811678
    1167911679if __name__ == "__main__":
    11680     suite = unittest.makeSuite(Test_Data_Manager,'test')
     11680    suite = unittest.makeSuite(Test_Data_Manager, 'test')
    1168111681   
     11682   
     11683    # FIXME(Ole): When Ross has implemented logging, we can
     11684    # probably get rid of all this:
    1168211685    if len(sys.argv) > 1 and sys.argv[1][0].upper() == 'V':
    1168311686        Test_Data_Manager.verbose=True
Note: See TracChangeset for help on using the changeset viewer.