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