Changeset 9534


Ignore:
Timestamp:
Dec 22, 2014 10:29:39 PM (4 years ago)
Author:
gahacke
Message:

adding test skip guard with Pyro or Pyro4 is not available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyomo/trunk/pyomo/pysp/tests/unit/test_ph.py

    r9519 r9534  
    2929import pyutilib.subprocess
    3030import pyutilib.services
     31from pyutilib.pyro import using_pyro3, using_pyro4
    3132
    3233from pyomo.util.plugin import *
     
    12301231        self.assertFileEqualsBaseline(this_test_file_directory+"lagrangian_morepr_1cc_networkflow1ef3_cplex.out",this_test_file_directory+"lagrangian_morepr_1cc_networkflow1ef3_cplex.baseline", filter=filter_lagrange, tolerance=1e-5)
    12311232
     1233@unittest.skipIf(not (using_pyro3 or using_pyro4), "Pyro or Pyro4 is not available")
    12321234class TestPHParallel(unittest.TestCase):
    12331235
Note: See TracChangeset for help on using the changeset viewer.