def test_dirpath_with_args(self):
newpath = self.root.join('sampledir')
-> assert newpath.dirpath('x') == self.root.join('x')