(self, tmpdir)
| 833 | assert lst[2] == p3 |
| 834 | |
| 835 | def test_visit_rec_fnmatch(self, tmpdir): |
| 836 | p1 = tmpdir.ensure("a", "123") |
| 837 | tmpdir.ensure(".b", "345") |
| 838 | lst = list(tmpdir.visit("???", rec="[!.]*")) |
| 839 | assert len(lst) == 1 |
| 840 | # check that breadth comes last |
| 841 | assert lst[0] == p1 |
| 842 | |
| 843 | def test_fnmatch_file_abspath(self, tmpdir): |
| 844 | b = tmpdir.join("a", "b") |