Changeset 7847
- Timestamp:
- Jun 16, 2010, 12:22:16 PM (14 years ago)
- Location:
- trunk/anuga_core/source/anuga
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/file_conversion/test_urs2sts.py
r7814 r7847 3 3 import tempfile 4 4 import os 5 import sys 5 6 from Scientific.IO.NetCDF import NetCDFFile 6 7 … … 1952 1953 #assert allclose(domain_fbound.quantities['stage'].vertex_values[6], 2) 1953 1954 1954 try:1955 if not sys.platform == 'win32': 1955 1956 os.remove(sts_file+'.sts') 1956 except IOError:1957 # Windoze can't remove this file for some reason1958 pass1959 1957 1960 1958 os.remove(meshname) -
trunk/anuga_core/source/anuga/utilities/test_file_utils.py
r7821 r7847 3 3 import os 4 4 import shutil 5 import sys 5 6 6 7 from anuga.utilities.file_utils import copy_code_files, get_all_swwfiles … … 142 143 143 144 # remove temp files 144 os.remove('test1.sww') 145 os.remove('test2.sww') 146 os.remove(outfile) 145 if not sys.platform == 'win32': 146 os.remove('test1.sww') 147 os.remove('test2.sww') 148 os.remove(outfile) 147 149 148 150
Note: See TracChangeset
for help on using the changeset viewer.