Changeset 6257
- Timestamp:
- Feb 2, 2009, 10:34:52 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/test_shallow_water_domain.py
r6252 r6257 6612 6612 6613 6613 6614 6614 6615 try: 6615 6616 domain.set_quantity('elevation', … … 6621 6622 msg = 'Test failed: %s' % str(e) 6622 6623 raise Exception, msg 6623 finally: 6624 # Cleanup regardless 6624 # Cleanup 6625 6625 os.remove(meshname) 6626 os.remove(points_file) 6626 os.remove(points_file) 6627 else: 6628 # Cleanup 6629 os.remove(meshname) 6630 os.remove(points_file) 6631 6632 6633 6634 #FIXME(Ole): Finally does not work like this in python2.3 6635 #FIXME(Ole): Reinstate this when Python2.3 is out of the way 6636 #FIXME(Ole): Python 2.6 apparently introduces something called 'with' 6637 #finally: 6638 # # Cleanup regardless 6639 # os.remove(meshname) 6640 # os.remove(points_file) 6627 6641 6628 6642
Note: See TracChangeset
for help on using the changeset viewer.