Ignore:
Timestamp:
Oct 10, 2005, 10:29:19 AM (19 years ago)
Author:
duncan
Message:

to fix error checking test made the bad file name ... badder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/test_least_squares.py

    r1873 r1882  
    15271527        fd.close()
    15281528
    1529         #FIXME (Ole): Is this a deliberately illegal filename to invoke the error?
    1530         #There might be platform issus (Unix/Windows)
    1531         #In any case, the call to itself does not raise an exception on cyclone - why?
    1532         mesh_output_file = "e:\new_triangle.tsh"       
    1533 
    1534         #FIXME: This does not raise an IO error on Linux but it does on Windows
    1535         #fit_to_mesh_file(mesh_file, point_file,
    1536         #                 mesh_output_file, display_errors = False)
    1537        
     1529        #This a deliberately illegal filename to invoke the error.
     1530        mesh_output_file = ".../\z\z:ya.tsh"       
     1531
    15381532        try:
    15391533            fit_to_mesh_file(mesh_file, point_file,
Note: See TracChangeset for help on using the changeset viewer.