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/utilities/test_file_utils.py

    r7821 r7847  
    33import os
    44import shutil
     5import sys
    56
    67from anuga.utilities.file_utils import copy_code_files, get_all_swwfiles
     
    142143       
    143144        # 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)     
    147149       
    148150       
Note: See TracChangeset for help on using the changeset viewer.