Ejemplo n.º 1
0
 def test_gitBranch(self):
     branch = PetscVersion.gitBranch()
     if PetscVersion.isRelease():
         self.assertEqual("unknown", branch)
     else:
         self.failIf(len(branch) == 0)
     return
Ejemplo n.º 2
0
 def test_gitBranch(self):
     branch = PetscVersion.gitBranch()
     if PetscVersion.isRelease():
         pass
     else:
         self.assertFalse(len(branch) == 0)
     return
Ejemplo n.º 3
0
 def test_gitBranch(self):
   branch = PetscVersion.gitBranch()
   if PetscVersion.isRelease():
     self.assertEqual("unknown", branch)
   else:
     self.failIf(len(branch) == 0)
   return