/[escript]/trunk/weipa/test/python/run_savesilo_tests.py
ViewVC logotype

Diff of /trunk/weipa/test/python/run_savesilo_tests.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5697 by jfenwick, Fri Apr 24 01:36:26 2015 UTC revision 5698 by sshaw, Fri Jun 26 04:40:42 2015 UTC
# Line 248  class SiloSaver(unittest.TestCase): #req Line 248  class SiloSaver(unittest.TestCase): #req
248          out=os.path.join(WEIPA_WORKDIR, outFileBase+".silo")          out=os.path.join(WEIPA_WORKDIR, outFileBase+".silo")
249          self.compareSiloFiles(out, ref)          self.compareSiloFiles(out, ref)
250    
251    class Test_Silo_import(unittest.TestCase):
252        def test_import(self):
253            if not HAVE_SILO:
254                try:
255                    import Silo
256                except ImportError as e:
257                    if "No module named Silo" not in str(e): raise e
258    
259  @unittest.skipIf(getMPISizeWorld()>1, "MPI size > 1")  @unittest.skipIf(getMPISizeWorld()>1, "MPI size > 1")
260  @unittest.skipIf(not HAVE_FINLEY, "finley module not available")  @unittest.skipIf(not HAVE_FINLEY, "finley module not available")
261  @unittest.skipIf(not HAVE_SILO, "Silo module not available")  @unittest.skipIf(not HAVE_SILO, "Silo module not available")

Legend:
Removed from v.5697  
changed lines
  Added in v.5698

  ViewVC Help
Powered by ViewVC 1.1.26