Ignore:
Timestamp:
Jun 16, 2010, 12:22:16 PM (12 years ago)
Author:
hudson
Message:

Added correct module imports for unit tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/file_conversion/test_urs2sts.py

    r7814 r7847  
    33import tempfile
    44import os
     5import sys
    56from Scientific.IO.NetCDF import NetCDFFile
    67
     
    19521953        #assert allclose(domain_fbound.quantities['stage'].vertex_values[6], 2)
    19531954
    1954         try:
     1955        if not sys.platform == 'win32':
    19551956            os.remove(sts_file+'.sts')
    1956         except IOError:
    1957             # Windoze can't remove this file for some reason
    1958             pass
    19591957       
    19601958        os.remove(meshname)
Note: See TracChangeset for help on using the changeset viewer.