/[escript]/trunk/escriptcore/test/python/test_util_base.py
ViewVC logotype

Diff of /trunk/escriptcore/test/python/test_util_base.py

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

revision 4938 by jfenwick, Wed May 14 01:13:23 2014 UTC revision 5101 by caltinay, Tue Jul 15 09:50:20 2014 UTC
# Line 76  class Test_util_base(unittest.TestCase): Line 76  class Test_util_base(unittest.TestCase):
76          f.close()          f.close()
77          self.assertTrue(f.closed,"file shuold be closed.")          self.assertTrue(f.closed,"file shuold be closed.")
78          self.__checkContent(fn,["line1", "line2", "line3"])          self.__checkContent(fn,["line1", "line2", "line3"])
79            MPIBarrierWorld()
80          if getMPIRankWorld()==0: os.unlink(fn)          if getMPIRankWorld()==0: os.unlink(fn)
81    
82     def test_FileWriter_A(self):     def test_FileWriter_A(self):
# Line 94  class Test_util_base(unittest.TestCase): Line 95  class Test_util_base(unittest.TestCase):
95          f.close()          f.close()
96          self.assertTrue(f.closed,"file shuold be closed.")          self.assertTrue(f.closed,"file shuold be closed.")
97          self.__checkContent(fn,["line1", "line2", "line3", "line4"])          self.__checkContent(fn,["line1", "line2", "line3", "line4"])
98            MPIBarrierWorld()
99          if getMPIRankWorld()==0: os.unlink(fn)          if getMPIRankWorld()==0: os.unlink(fn)
100    
101     def test_FileWriter_A_loc(self):     def test_FileWriter_A_loc(self):

Legend:
Removed from v.4938  
changed lines
  Added in v.5101

  ViewVC Help
Powered by ViewVC 1.1.26