def test_visit_filterfunc_is_string(self):
l = []
for i in self.root.visit('*dir'):
-> l.append(i.relto(self.root))
assert len(l), 2
assert "sampledir" in l
assert "otherdir" in l