def test_diff(self):
-> p = self.root / 'anotherfile'
out = p.diff(rev=2)
assert out.find('hello') != -1