27
27
def test_pending_none(self):
28
28
# Test whether show_pending_merges works in a tree with no commits
29
29
tree = self.make_branch_and_tree('a')
31
31
tree2 = self.make_branch_and_tree('b')
35
37
show_pending_merges(tree2, output)
36
38
self.assertContainsRe(output.getvalue(), 'empty commit')