def test_initialize_reldir(self):
-> old = self.root.chdir()
try:
p = local('samplefile')
assert p.check()
finally:
old.chdir()