Changeset 1863
- Timestamp:
- Oct 4, 2005, 6:48:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/test_least_squares.py
r1814 r1863 1522 1522 fd.close() 1523 1523 1524 mesh_output_file = "e: /new_triangle.tsh"1524 mesh_output_file = "e:\new_triangle.tsh" #Deliberately bad file 1525 1525 try: 1526 1526 fit_to_mesh_file(mesh_file, point_file, 1527 1527 mesh_output_file, display_errors = False) 1528 except SystemExit: pass 1528 except SystemExit: 1529 pass 1529 1530 else: 1530 self.failUnless(0 ==1, 'Bad file did not raise error!') 1531 #self.failUnless(0 ==1, 'Bad file did not raise error!') 1532 #FIXME (Ole) Did not work on my computer: This one does: 1533 raise 'Bad file did not raise error!' 1534 1531 1535 #clean up 1532 1536 os.remove(mesh_file)
Note: See TracChangeset
for help on using the changeset viewer.