Changeset 4148


Ignore:
Timestamp:
Jan 9, 2007, 10:40:35 AM (18 years ago)
Author:
nick
Message:

changed test_get_version_info to only run on a Win32 platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/abstract_2d_finite_volumes/test_util.py

    r4076 r4148  
    1313
    1414from anuga.utilities.numerical_tools import NAN
     15
     16from sys import platform
    1517
    1618def test_function(x, y):
     
    11521154   
    11531155    def test_get_version_info(self):
    1154         info = get_version_info()
    1155         assert info.startswith('Revision')
     1156        if sys.platform == 'win32':
     1157            info = get_version_info()
     1158            assert info.startswith('Revision')
    11561159                         
    11571160       
Note: See TracChangeset for help on using the changeset viewer.