Ignore:
Timestamp:
Feb 6, 2015, 12:03:23 AM (10 years ago)
Author:
steve
Message:

Got the stage where anuga (without pypar) builds successfully on travis ci

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/anuga/utilities/tests/test_spatialInputUtil.py

    r9513 r9617  
    1212import numpy
    1313import os
     14import sys
    1415from anuga.shallow_water.shallow_water_domain import Domain
    1516from anuga.utilities import plot_utils as util
     
    158159        # Test conversion to-from Wkb
    159160
     161        # Only run test if python >= 2.7
     162        if sys.hexversion < 0x02070000: return
     163
    160164        seg=[ [0., -2., 1.], [100., -100., 2.], [10., 8., 3.], [0., -2., 1.]]
    161165        seg_Wkb=su.ListPts2Wkb(seg,geometry_type='line')   
     
    228232        #
    229233        # Make an intersection, check it works
     234
     235        # Only run if python >= 2.7
     236        if sys.hexversion < 0x02070000: return
     237       
     238       
    230239        seg1=[ [-10., 0.], [10., 0.]]
    231240        seg2=[ [0., -10.], [0., 10.]]
     
    362371    def test_add_intersections_to_domain_features(self):
    363372
     373        # Only run test if python >= 2.7
     374        if sys.hexversion < 0x02070000: return
     375
    364376        bounding_polygon=[ [0., 0.], [0., 10.], [10., 10.], [10., 0.]]
    365377
Note: See TracChangeset for help on using the changeset viewer.